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),