liukangdong
2024-07-26 1ae423f71a056e06a1f8908c6ae048d865e8ff47
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})