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('发布消息,校验文件名-------------------------------------')