k94314517
2024-07-22 8d48f2f55453635bf60e5e00d1e4746288e9da67
wechat_jiaxuan/pages/detailDis/realpic.js
@@ -35,7 +35,10 @@
      actionType,
      id: this.data.info.id
    }).then(res => {
      info.isCollection = !info.isCollection
      info.collection = !info.collection
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
      })
      this.setData({info})
    })
  },