From 7023aeb03ec1a33cb8fe5a04787aa981bd5b55ed Mon Sep 17 00:00:00 2001 From: hui <770260999@qq.com> Date: Fri, 19 Jan 2024 13:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/JiHeExpressway/utils/infoBoard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/utils/infoBoard.js b/ruoyi-ui/src/views/JiHeExpressway/utils/infoBoard.js index aad78e3f..80061596 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/utils/infoBoard.js +++ b/ruoyi-ui/src/views/JiHeExpressway/utils/infoBoard.js @@ -40,7 +40,7 @@ export default { data1 = { // formatStyle: data.horizontalAlignment, formatStyle: data.verticalAlignment, - content: data.textContent, + content: data.textContent.replaceAll(/\\\\n/g , "\n"), fontColor: data.foregroundColor.toUpperCase(), fontSize: data.fontSize.replace("px",""), // fontFamily: this.deviceFontToEdit(data.font),