Explorar el Código

2 处理我关注的推荐内容接口参数!

release/210823_需求对对碰
王饶冀 hace 3 años
padre
commit
43686e6c06
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1
    1
      pages/index/index.js
  2. 2
    2
      pages/msgModule/index.js

+ 1
- 1
pages/index/index.js Ver fichero

@@ -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 => {

+ 2
- 2
pages/msgModule/index.js Ver fichero

@@ -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);
}
})

Cargando…
Cancelar
Guardar