Преглед на файлове

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

release/210823_需求对对碰
王饶冀 преди 4 години
родител
ревизия
a5ecd92271
променени са 1 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 11
    0
      pages/msgModule/index.js

+ 11
- 0
pages/msgModule/index.js Целия файл

el.lastContentDate = el.lastContentDate.replaceAll('/', '-'); el.lastContentDate = el.lastContentDate.replaceAll('/', '-');
el.size += 1; el.size += 1;
} }
if(el.customer){
if(el.customer.paidByMonth){
el.businessCommunicationCustomerVO.nickName = el.customer.nickName
}
}
}) })
_this.setData({ _this.setData({
msgData msgData
if (typeof el.type == 'string') { if (typeof el.type == 'string') {
el.type = el.type.split(','); 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({ this.setData({

Loading…
Отказ
Запис