|
@@ -136,7 +136,7 @@ export default {
|
136
|
136
|
this.name = res.rst.name;
|
137
|
137
|
let msg_list = res.rst.msg_list;
|
138
|
138
|
msg_list.forEach((item) => {
|
139
|
|
- item.content = item.content ? item.content.replace('%NICKNAME%', '「客户昵称」') : '';
|
|
139
|
+ item.content = item.content ? item.content.replaceAll('%NICKNAME%', '「客户昵称」') : '';
|
140
|
140
|
item.attachments = item.attachments && item.attachments != '' ? JSON.parse(item.attachments) : [];
|
141
|
141
|
if(item.weeks){
|
142
|
142
|
item.weeks = item.weeks.split(',')
|
|
@@ -295,7 +295,7 @@ export default {
|
295
|
295
|
item.weeks = ''
|
296
|
296
|
}
|
297
|
297
|
// item.weeks = item.weeks.join(',');
|
298
|
|
- item.content = item.content.replace('「客户昵称」', '%NICKNAME%')
|
|
298
|
+ item.content = item.content.replaceAll('「客户昵称」', '%NICKNAME%')
|
299
|
299
|
item.attachments = item.attachments == '' || item.attachments&&item.attachments.length == 0 ? '' : JSON.stringify(item.attachments)
|
300
|
300
|
})
|
301
|
301
|
|