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