Selaa lähdekoodia

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

release/210823_需求对对碰
王饶冀 3 vuotta sitten
vanhempi
commit
a5ecd92271
1 muutettua tiedostoa jossa 11 lisäystä ja 0 poistoa
  1. 11
    0
      pages/msgModule/index.js

+ 11
- 0
pages/msgModule/index.js Näytä tiedosto

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

Loading…
Peruuta
Tallenna