fix: 统计分析自测问题修复。
This commit is contained in:
@@ -200,6 +200,11 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="交易日期" align="center" prop="time" />
|
||||
<el-table-column label="交易金额" align="center" prop="value" />
|
||||
<el-table-column prop="detail" label="交易明细" width="700" v-if="queryParams.type === 1">
|
||||
<template #default="scope">
|
||||
<span v-html="formatMultiLineData(scope.row.detail)"></span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -317,7 +322,11 @@ const calendarChange = (val) => {
|
||||
firstChooseDate.value = val[0].getTime()
|
||||
if (val[1]) firstChooseDate.value = ''
|
||||
}
|
||||
|
||||
function formatMultiLineData(data) {
|
||||
if (data != null) {
|
||||
return data.replace(/<br\/>/g, '<br/>')
|
||||
}
|
||||
}
|
||||
const account = ref({
|
||||
amount: '',
|
||||
income: '',
|
||||
|
||||
Reference in New Issue
Block a user