Browse Source

情报板接口

wangqin
lau572 1 year ago
parent
commit
d7ddb40dc6
  1. 6
      ruoyi-ui/src/views/information/board/index.vue

6
ruoyi-ui/src/views/information/board/index.vue

@ -1037,6 +1037,8 @@ export default {
// obj.CONTENT = item.CONTENT
obj.CONTENT = item.CONTENT.replaceAll(',','\\,')
obj.CONTENT = obj.CONTENT.replaceAll('=','\\=')
obj.CONTENT = obj.CONTENT.replaceAll('\n','\\\\n')
// obj.CONTENT = obj.CONTENT.replaceAll('=','\=')
obj.width = devicePixel[0]
@ -1226,10 +1228,13 @@ export default {
item.screenSize = item.displayAreaWidth + '*' + item.displayAreaHeight
item.CONTENT = item.textContent.replaceAll('\\,',',')
item.CONTENT = item.CONTENT.replaceAll('\\=','=')
item.CONTENT = item.CONTENT.replaceAll('\\\\n','\n')
item.formatStyle = item.verticalAlignment
this.contentList.push(item)
this.form.devicePixel = item.screenSize
}
console.log(this.contentList, 'onSubmit-----this.contentList')
// this.rowDrop();
@ -1243,7 +1248,6 @@ export default {
this.submitButton = false
})
this.deviceId = deviceId
this.form.devicePixel = '768*64'
// id

Loading…
Cancel
Save