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

npm run build:runtime

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