Browse Source

情报板发布日志由后端处理

wangqin
lau572 9 months ago
parent
commit
4ded31b794
  1. 10
      ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js

10
ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js

@ -37,7 +37,7 @@ export default{
displayAreaWidth: +arr[0],
displayAreaHeight: +arr[1]
}
this.editDialog = {
visible: showDialog == false ? false : true,
mode: "toDevice",
@ -80,16 +80,16 @@ export default{
let data = { content: content, deviceId: this.selectedDevice.iotDeviceId }
if (IS_TESTING) {
this.saveLog(content);
// this.saveLog(content);
this.____getDeviceInfo();
loading.close()
} else {
publishToBoard(data).then(res => {
this.saveLog(content);
// this.saveLog(content);
this.____getDeviceInfo();
}).catch(err=>{
}).finally(()=>{
loading.close()
});
@ -138,4 +138,4 @@ export default{
})
}
}
}
}

Loading…
Cancel
Save