wechat_jiaxuan/pages/store/staff.js
@@ -6,7 +6,7 @@ */ data: { bottomLift: 0, isShow: true, isShow: false, info: {} }, @@ -28,10 +28,15 @@ getDetail(id) { usersDetailByIamId({iamId: id}).then(res => { this.setData({ info: res.data }) if(res.data && res.data.qrcodeImgFull){ this.setData({ isShow: true }) } }) }, openModal() { this.setData({isShow: true}) if(this.data.info.qrcodeImgFull){ this.setData({ isShow: true }) } }, onClose() { this.setData({isShow: false})