浏览代码

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

release/210823_需求对对碰
王饶冀 3 年前
父节点
当前提交
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({

正在加载...
取消
保存