소스 검색

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

release/210823_需求对对碰
王饶冀 3 년 전
부모
커밋
a5ecd92271
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11
    0
      pages/msgModule/index.js

+ 11
- 0
pages/msgModule/index.js 파일 보기

@@ -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…
취소
저장