Explorar el Código

1 修复消息列表页,名称显示问题。

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

+ 11
- 0
pages/msgModule/index.js Ver fichero

@@ -78,6 +78,11 @@ Page({
el.lastContentDate = el.lastContentDate.replaceAll('/', '-');
el.size += 1;
}
if(el.customer){
if(el.customer.paidByMonth){
el.businessCommunicationCustomerVO.nickName = el.customer.nickName
}
}
})
_this.setData({
msgData
@@ -131,6 +136,12 @@ Page({
if (typeof el.type == 'string') {
el.type = el.type.split(',');
}
if(el.customer){
// console.log(el.customer.paidByMonth,el.customer.nickName)
if(el.customer.paidByMonth){
el.businessCommunicationCustomerVO.nickName = el.customer.nickName
}
}
})
// 设置总数
this.setData({

Cargando…
Cancelar
Guardar