Commit 623dc73b by 谢中龙

修改bug

parent d717d299
......@@ -76,6 +76,13 @@ wxService.page({
},
//打开摄像头 扫码
onTapScanQrcode(){
if (!this.data.guiderCanScanQrcode){
wx.showToast({
title: '对不起,您无该权限!',
icon : 'none'
});
return ;
}
wx.scanCode({
success : res => {
let result = res.result;
......
......@@ -655,6 +655,7 @@ class WXService extends Http {
config.data.shareTitle = envInfo.shareTitle;
config.data.speadProductsBanner = envInfo.speadProductsBanner;
config.data.canUseWechatAddress = envInfo.canUseWechatAddress;
config.data.guiderCanScanQrcode = envInfo.guiderCanScanQrcode;
//默认
config.data.loading = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment