Commit 58c65bd8 authored by 赵啸非's avatar 赵啸非

修改pom文件

parent 7aac0bdd
...@@ -31,9 +31,10 @@ export default { ...@@ -31,9 +31,10 @@ export default {
let msg = ""; let msg = "";
let content = JSON.parse(obj.body.content); let content = JSON.parse(obj.body.content);
if (content.deviceOnlineStatus == 1) { if (content.deviceOnlineStatus == 1) {
msg = _this.tableData.dict[content.deviceType]+ "设备:" + content.deviceCode + " 上线!"; console.log(_this.tableData.dict)
msg = _this.tableData.dict.deviceType[content.deviceType]+ "设备:" + content.deviceCode + " 上线!";
} else { } else {
msg = _this.tableData.dict[content.deviceType]+"设备:" + content.deviceCode + " 离线!"; msg = _this.tableData.dict.deviceType[content.deviceType]+"设备:" + content.deviceCode + " 离线!";
} }
_this.$notify({ _this.$notify({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment