fix
This commit is contained in:
parent
7bbab6d9b3
commit
ce9e511e8d
@ -19,7 +19,8 @@ export const closeWebview = () => {
|
|||||||
// 判断是oa还是墨册
|
// 判断是oa还是墨册
|
||||||
export const OAorMc = () => {
|
export const OAorMc = () => {
|
||||||
try {
|
try {
|
||||||
return plus.webview.currentWebview().type;
|
const currentWebView = plus.webview.getWebviewById("wv");
|
||||||
|
return currentWebView.type;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user