wechat_jiaxuan/pages/store/staff.js
@@ -28,10 +28,19 @@ getDetail(id) { usersDetailByIamId({iamId: id}).then(res => { this.setData({ info: res.data }) if(res.data && res.data.qrcodeImgFull){ this.setData({ isShow: true }) } }) }, makePhone() { const phoneNumber = this.data.info.phone wx.makePhoneCall({ phoneNumber }) }, openModal() { this.setData({isShow: true}) if(this.data.info.qrcodeImgFull){ this.setData({ isShow: true }) } }, onClose() { this.setData({isShow: false})