| @@ -264,7 +264,7 @@ Page({ | |||
| }) | |||
| if (this.data.attentionTypeIds && this.data.currentTab == 'my') { | |||
| if (this.data.attentionTypeIds.length > 0 && this.data.total == 0) { | |||
| this.getListData(1); | |||
| this.getListData(2); | |||
| } | |||
| } | |||
| }).catch(error => { | |||
| @@ -197,11 +197,11 @@ Page({ | |||
| // mask: true | |||
| // }) | |||
| let item = e.currentTarget.dataset.item; | |||
| let customerId = item.businessCommunicationCustomerVO.customerId; | |||
| let customerId = item.customerId; | |||
| let lastChatRecordCode = item.lastChatRecordCode; | |||
| let msgData = this.data.msgData; | |||
| msgData.forEach((el, inx) => { | |||
| if (el.businessCommunicationCustomerVO.customerId == customerId) { | |||
| if (el.customerId == customerId) { | |||
| msgData.splice(inx, 1); | |||
| } | |||
| }) | |||