You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

86 lines
1.6 KiB

if (!IS_VUE_SSR) {
Vue.GV = true;
try {
LoadPage(GoHtmlSrc, GoHref);
} catch (e) {
console.log("LoadPage:" + e);
}
try {
var govueId = GetGoVueId();
// console.log("govueId",govueId);
} catch (e) {
console.log("GetGoVueId:" + e);
}
LoadGoParam();
try {
var goVueIgnore = new GoVueIgnore();
goVueIgnore.ignore();
// console.log(document.innerHTML);
} catch (e) {
console.log("goVueIgnore.ignore:" + e);
}
try {
GoUseCall({
id: govueId,
path: GoPath,
query: jQuery.deparam(GoQuery)
});
} catch (e) {
console.log("GoUseCall:" + e);
}
try {
RunInlineCode();
} catch (e) {
console.log("RunInlineCode:" + e);
}
try {
goVueIgnore.restore();
} catch (e) {
console.log("goVueIgnore.restore:" + e);
}
try {
GoVueRestoreRawTemplate();
} catch (e) {
console.log("GoVueRestoreRawTemplate:" + e);
}
try {
GoReturn(document.innerHTML);
} catch (e) {
console.log("GoReturn:" + e)
}
} else {
console.log("vue-ssr模式");
try {
LoadPage(GoHtmlSrc, GoHref);
} catch (e) {
console.log("LoadPage:" + e);
}
try {
GoUseCall({
path: GoPath,
query: jQuery.deparam(GoQuery)
});
} catch (e) {
console.log("GoUseCall:" + e);
}
try {
RunInlineCode();
} catch (e) {
console.log("RunInlineCode:" + e);
}
}