| }) | }) | ||||
| }, | }, | ||||
| // mangerUrl: 'http://test2.hhrchina.com', | // mangerUrl: 'http://test2.hhrchina.com', | ||||
| mangerUrl: "http://192.168.18.138", | |||||
| mangerUrl: "http://192.168.18.216", | |||||
| // mangerUrl: "https://www.hhrchina.com", | // mangerUrl: "https://www.hhrchina.com", | ||||
| // mangerUrlPath: "https://www.hhrchina.com", | // mangerUrlPath: "https://www.hhrchina.com", | ||||
| }) | }) |
| this.setData({ | this.setData({ | ||||
| listLoading: false | listLoading: false | ||||
| }) | }) | ||||
| if(this.data.attentionTypeIds){ | |||||
| if(this.data.attentionTypeIds.length > 0 && res.data.total == 0){ | |||||
| if(this.data.attentionTypeIds && this.data.currentTab == 'my'){ | |||||
| if(this.data.attentionTypeIds.length > 0 && this.data.total == 0){ | |||||
| this.getListData(1); | this.getListData(1); | ||||
| } | } | ||||
| } | } |
| break; | break; | ||||
| } else { | } else { | ||||
| this.sendmsgApi("", 1); | this.sendmsgApi("", 1); | ||||
| console.log(`走这里1`) | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| // 说明没有一条是messageType == 1 的 | // 说明没有一条是messageType == 1 的 | ||||
| if(tempArr.length < 1){ | if(tempArr.length < 1){ | ||||
| this.sendmsgApi("", 1); | this.sendmsgApi("", 1); | ||||
| console.log(`走这里3`) | |||||
| } | } | ||||
| } else { | } else { | ||||
| this.sendmsgApi("", 1); | this.sendmsgApi("", 1); | ||||
| console.log(`走这里2`) | |||||
| } | } | ||||
| } | } | ||||
| } | } |