提交 99417a2d 编写于 作者: fxy060608's avatar fxy060608

fix(app-plus): subNVue maskWebview

上级 2da90d07
...@@ -317,7 +317,8 @@ function wrapper$1 (webview) { ...@@ -317,7 +317,8 @@ function wrapper$1 (webview) {
return return
} }
const maskColor = webview.__uniapp_mask; const maskColor = webview.__uniapp_mask;
const maskWebview = plus.webview.getWebviewById(webview.__uniapp_mask_id); let maskWebview = plus.webview.getWebviewById(webview.__uniapp_mask_id);
maskWebview = maskWebview.parent() || maskWebview;// 再次检测父
const oldShow = webview.show; const oldShow = webview.show;
const oldHide = webview.hide; const oldHide = webview.hide;
const oldClose = webview.close; const oldClose = webview.close;
......
{ {
"name": "@dcloudio/uni-app-plus", "name": "@dcloudio/uni-app-plus",
"version": "0.0.240", "version": "0.0.241",
"description": "uni-app app-plus", "description": "uni-app app-plus",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -19,7 +19,8 @@ function wrapper (webview) { ...@@ -19,7 +19,8 @@ function wrapper (webview) {
return return
} }
const maskColor = webview.__uniapp_mask const maskColor = webview.__uniapp_mask
const maskWebview = plus.webview.getWebviewById(webview.__uniapp_mask_id) let maskWebview = plus.webview.getWebviewById(webview.__uniapp_mask_id)
maskWebview = maskWebview.parent() || maskWebview// 再次检测父
const oldShow = webview.show const oldShow = webview.show
const oldHide = webview.hide const oldHide = webview.hide
const oldClose = webview.close const oldClose = webview.close
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册