From 8840a059e56f9008622e8c185d628ac7806ab3f1 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 25 Mar 2025 18:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=A1=E6=A0=B8=E6=84=8F?= =?UTF-8?q?=E8=A7=81=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/flow/auditRecord.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/flow/auditRecord.vue b/src/views/flow/auditRecord.vue index ebfeb83..95288bf 100644 --- a/src/views/flow/auditRecord.vue +++ b/src/views/flow/auditRecord.vue @@ -53,7 +53,8 @@ export default { if (hasDoubleAt) { this.approvalItems = res.data.map(item => ({ ...item, - reason: item.reason.split('@@')[4] || '', + // reason: item.reason.split('@@')[4] || '', + reason: item.reason.replaceAll('@', ''), })) } else { this.approvalItems = res.data @@ -61,7 +62,8 @@ export default { } else { this.approvalItems = res.data.map(item => ({ ...item, - reason: item.reason ? item.reason.replaceAll(/@@/g, ' ') : '', + // reason: item.reason ? item.reason.replaceAll(/@@/g, ' ') : '', + reason: item.reason ? item.reason.replaceAll('@', '') : '', })) } })