| this.setData({ | this.setData({ | ||||
| currentData: listDetail, | currentData: listDetail, | ||||
| type: listDetail.type, | type: listDetail.type, | ||||
| pageLoading: false, | |||||
| isCollect: res.data.booleanIsCollect == 0 ? false : true, | isCollect: res.data.booleanIsCollect == 0 ? false : true, | ||||
| }) | }) | ||||
| if (this.data.currentData.customerId != this.data.userCustomerId) { | if (this.data.currentData.customerId != this.data.userCustomerId) { | ||||
| }) | }) | ||||
| this.getListData(); | this.getListData(); | ||||
| } | } | ||||
| }else{ | |||||
| wx.showToast({ | |||||
| title: "数据异常~", | |||||
| icon: 'success', | |||||
| duration: 2000 | |||||
| }) | |||||
| } | } | ||||
| this.setData({ | |||||
| pageLoading: false, | |||||
| }) | |||||
| }).catch(err => { | }).catch(err => { | ||||
| this.setData({ | |||||
| pageLoading: false, | |||||
| }) | |||||
| console.log(err, 'error appletLogin') | console.log(err, 'error appletLogin') | ||||
| }) | }) | ||||
| }, | }, |