|
@@ -9,7 +9,7 @@
|
|
|
<div class="message-date">{{ message.readTime }}</div>
|
|
|
<div class="message-content">
|
|
|
<el-scrollbar style="height: 100%">
|
|
|
- <div>{{ message.sourceData.replaceAll(/[\r\n]{2,}/g, '\n').replaceAll('\\', '') }}</div>
|
|
|
+ <div>{{ message.sourceData.replaceAll(/[\\r\\n]{2,}/g, '\n').replaceAll('\\', '') }}</div>
|
|
|
</el-scrollbar>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
xlsxDatas.push(
|
|
|
...this.messageList.map(message => [
|
|
|
message.flightDate,
|
|
|
- message.sourceData.replaceAll(/[\r\n]{2,}/g, '\n').replaceAll('\\', '')
|
|
|
+ message.sourceData.replaceAll(/[\\r\\n]{2,}/g, '\n').replaceAll('\\', '')
|
|
|
])
|
|
|
)
|
|
|
const columnWidths = []
|