From 0eda80a28e8ba94a8b0723fd5612b305f3e1f677 Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Thu, 28 Dec 2023 17:04:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=83=85=E6=8A=A5=E6=9D=BF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/information/board/index.vue | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/information/board/index.vue b/ruoyi-ui/src/views/information/board/index.vue index f29b97fd..311f1e0a 100644 --- a/ruoyi-ui/src/views/information/board/index.vue +++ b/ruoyi-ui/src/views/information/board/index.vue @@ -901,7 +901,15 @@ export default { obj.COLOR = that.getColorValue(item.COLOR) obj.FONT = that.getFontValue(item.FONT) obj.FONT_SIZE = item.FONT_SIZE.substring(0, 2) - obj.CONTENT = item.CONTENT.replace(/\n|\r\n/g, '') + // obj.CONTENT = item.CONTENT.replace(/\\/g, '\\\\') + // + // obj.CONTENT = item.CONTENT.replace(/\,/g , "other string or space") + // obj.CONTENT = item.CONTENT + obj.CONTENT = item.CONTENT.replaceAll('\\','\\\\') + obj.CONTENT = obj.CONTENT.replaceAll(',','\\,') + obj.CONTENT = obj.CONTENT.replaceAll('=','\\=') + + // obj.CONTENT = obj.CONTENT.replaceAll('=','\=') obj.width = devicePixel[0] obj.height = devicePixel[1] obj.formatStyle = item.formatStyle @@ -914,16 +922,6 @@ export default { console.log(newArr, 'newArr') - - /* invokedFunction(65,'1B',{fileId:'1'}).then(res =>{ - debugger - console.log('发布消息,播放文件-----------------------------') - console.log(res) - }).catch(()=>{ - this.$modal.msgError("发布失败,请重试"); - })*/ - - invokedFunction(595,11,{size : '65535',fileName:'play010.lst'}).then(res =>{ debugger console.log('发布消息,校验文件名-------------------------------------')