| @@ -57,7 +57,11 @@ Page({ | |||
| pageLoading: true, | |||
| isOther: data.customerid != app.globalData.customerId | |||
| }) | |||
| console.log(`进这里`) | |||
| // 记录浏览量 | |||
| if (this.data.isOther) { | |||
| this.saveHomeCollect(); | |||
| } | |||
| this.getListData(); | |||
| }) | |||
| } else { | |||
| this.setData({ | |||
| @@ -65,13 +69,13 @@ Page({ | |||
| pageLoading: true, | |||
| isOther: options.customerId != app.globalData.customerId | |||
| }) | |||
| console.log(`进这里2`) | |||
| } | |||
| // 记录浏览量 | |||
| if (this.data.isOther) { | |||
| this.saveHomeCollect(); | |||
| // 记录浏览量 | |||
| if (this.data.isOther) { | |||
| this.saveHomeCollect(); | |||
| } | |||
| this.getListData(); | |||
| } | |||
| this.getListData(); | |||
| }, | |||
| // 进入详情 | |||
| goDetails(e) { | |||