fix
This commit is contained in:
parent
36d0ef2e31
commit
15fc542f6f
@ -1,7 +1,11 @@
|
||||
const currentWebView = plus.webview.getWebviewById("wv");
|
||||
|
||||
export const runTimeEnv = () => {
|
||||
if (plus) {
|
||||
return currentWebView.RunTime === "app";
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
export const closeWebview = () => {
|
||||
currentWebView.close();
|
||||
|
Loading…
Reference in New Issue
Block a user