提交 26ea7a0d 编写于 作者: fxy060608's avatar fxy060608

npm run build:runtime

上级 b03ec93f
......@@ -436,6 +436,7 @@ function wrapper (methodName, method) {
const todoApis = Object.create(null);
const TODOS = [
'onTabBarMidButtonTap',
'subscribePush',
'unsubscribePush',
'onPush',
......@@ -519,8 +520,13 @@ function wrapper$1 (webview) {
return
}
const maskColor = webview.__uniapp_mask;
let maskWebview = plus.webview.getWebviewById(webview.__uniapp_mask_id);
maskWebview = maskWebview.parent() || maskWebview;// 再次检测父
let maskWebview = webview.__uniapp_mask_id === '0' ? {
setStyle ({ mask }) {
requireNativePlugin('uni-tabview').setMask({
color: mask
});
}
} : plus.webview.getWebviewById(webview.__uniapp_mask_id);
const oldShow = webview.show;
const oldHide = webview.hide;
const oldClose = webview.close;
......
......@@ -836,6 +836,7 @@ function wrapper (methodName, method) {
const todoApis = Object.create(null);
const TODOS = [
'onTabBarMidButtonTap',
'subscribePush',
'unsubscribePush',
'onPush',
......
......@@ -579,6 +579,7 @@ function wrapper (methodName, method) {
const todoApis = Object.create(null);
const TODOS = [
'onTabBarMidButtonTap',
'subscribePush',
'unsubscribePush',
'onPush',
......
......@@ -539,6 +539,7 @@ function wrapper (methodName, method) {
const todoApis = Object.create(null);
const TODOS = [
'onTabBarMidButtonTap',
'subscribePush',
'unsubscribePush',
'onPush',
......
......@@ -536,9 +536,10 @@ const protocols = {
timeout: false
}
},
requestPayment: {
requestPayment: {
name: tt.canIUse && tt.canIUse('pay') ? 'pay' : 'requestPayment',
args: {
orderInfo: 'data'
orderInfo: tt.canIUse && tt.canIUse('pay') ? 'orderInfo' : 'data'
}
},
getFileInfo: {
......@@ -630,6 +631,7 @@ function wrapper (methodName, method) {
const todoApis = Object.create(null);
const TODOS = [
'onTabBarMidButtonTap',
'subscribePush',
'unsubscribePush',
'onPush',
......
......@@ -474,6 +474,7 @@ function wrapper (methodName, method) {
const todoApis = Object.create(null);
const TODOS = [
'onTabBarMidButtonTap',
'subscribePush',
'unsubscribePush',
'onPush',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册