ll
liukangdong
2024-08-06 d41f1f707dc643b726a42b9d2a63b186dd9e4f28
wechat_staff/pages/detailDis/case.js
@@ -97,7 +97,7 @@
        actionType: flag ? 'collect' : 'collect_cancel'
      }).then(res => {
        info.isCollection = flag
        wx.showToast({title: flag ? '收藏成功' : '取消收藏'})
        wx.showToast({title: flag ? '收藏成功' : '取消收藏',icon: 'none'})
        this.setData({
          info
        }) 
@@ -116,6 +116,7 @@
      this.setData({info})
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
        icon: 'none'
      })
    })
  },