fix: BUG修改

This commit is contained in:
kun 2024-03-25 11:50:12 +08:00
parent c9284dd84b
commit e8f00a54c2
3 changed files with 18 additions and 24 deletions

View File

@ -107,14 +107,12 @@ onMounted(async () => {
});
onBeforeUnmount(() => {
if (oWebControl.value === undefined) {
//
oWebControl.JS_HideWnd();
//
oWebControl.JS_RequestInterface({ funcName: "destroyWnd" });
//
oWebControl.JS_Disconnect();
}
//
oWebControl.JS_HideWnd();
//
oWebControl.JS_RequestInterface({ funcName: "destroyWnd" });
//
oWebControl.JS_Disconnect();
});
const initPlugin = () => {

View File

@ -121,14 +121,12 @@ onMounted(async () => {
});
onBeforeUnmount(() => {
if (oWebControl.value === undefined) {
//
oWebControl.JS_HideWnd();
//
oWebControl.JS_RequestInterface({ funcName: "destroyWnd" });
//
oWebControl.JS_Disconnect();
}
//
oWebControl.JS_HideWnd();
//
oWebControl.JS_RequestInterface({ funcName: "destroyWnd" });
//
oWebControl.JS_Disconnect();
});
const initPlugin = () => {

View File

@ -175,14 +175,12 @@ onMounted(async () => {
});
onBeforeUnmount(() => {
if (oWebControl.value === undefined) {
//
oWebControl.JS_HideWnd();
//
oWebControl.JS_RequestInterface({ funcName: "destroyWnd" });
//
oWebControl.JS_Disconnect();
}
//
oWebControl.JS_HideWnd();
//
oWebControl.JS_RequestInterface({ funcName: "destroyWnd" });
//
oWebControl.JS_Disconnect();
});
const initPlugin = () => {