Commit 4cec01b8 by 张立顺

Merge branch 'SAAS+V4.50.1-0217' of http://192.168.3.233:8090/saas_plus/dj-car-b…

…outique-work-wechat into SAAS+V4.50.1-0217
2 parents 86dfa807 328b11ce
......@@ -4,7 +4,8 @@ Page({
* 页面的初始数据
*/
data: {
flag: true
flag: true,
isH5Bind: false
},
getParams(str) {
let params = str.split('?')
......@@ -78,6 +79,9 @@ Page({
if (data) {
const eventChannel = this.getOpenerEventChannel();
eventChannel.emit('webViewMessage', data[0]); // 发送数据
this.setData({
isH5Bind: true
})
}
},
......@@ -94,7 +98,9 @@ Page({
// 中邮上传延保协议页面
if (url.includes('zyUpload')) {
const eventChannel = this.getOpenerEventChannel();
eventChannel.emit('webViewMessage', 'cancel'); // 发送数据
if (!this.data.isH5Bind) {
eventChannel.emit('webViewMessage', 'cancel'); // 发送数据
}
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!