From bf580d5477d65f5eefb70a8fb9a6b37eaf0ae9bb Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 06 九月 2022 09:16:25 +0800
Subject: [PATCH] 2022.9.6
---
pages/module_consult/consultresult/consultresult.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pages/module_consult/consultresult/consultresult.js b/pages/module_consult/consultresult/consultresult.js
index 6a65873..98f4f94 100644
--- a/pages/module_consult/consultresult/consultresult.js
+++ b/pages/module_consult/consultresult/consultresult.js
@@ -46,7 +46,7 @@
let thisTypeId = ''
let thisIndex = -1
res.forEach(r => {
- r.des = r.des.replace('\\n', '<br/>')
+ r.des = r.des.replaceAll('\\n', '<br/>')
if (thisTypeId === '' || thisTypeId != r.typeId) {
thisTypeId = r.typeId
thisIndex++
--
Gitblit v1.9.3