提交 15891073 编写于 作者: 雪洛's avatar 雪洛

update: eslint忽略tt

上级 ae74106a
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
"wx": true, "wx": true,
"my": true, "my": true,
"swan": true, "swan": true,
"tt": true,
"weex": true, "weex": true,
"__id__": true, "__id__": true,
"__uniConfig": true, "__uniConfig": true,
......
...@@ -152,18 +152,16 @@ const protocols = { ...@@ -152,18 +152,16 @@ 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: {
args: { args: {
digestAlgorithm: false digestAlgorithm: false
} }
},
requestPayment: {
name: tt.canIUse && tt.canIUse('pay') ? 'pay' : 'requestPayment',
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册