liukangdong
2024-07-24 0cd3a666af34e28eaf50ed1392b5d219a9d2b1cf
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})
    })
  },