Commit f6597c2d4500ea407e6867e7a426bb19c32fe2d1
1 parent
0e71c0b9
弹窗显示webservice消息
Showing
1 changed file
with
1 additions
and
0 deletions
ant-design-vue-jeecg/src/components/tools/HeaderNotice.vue
... | ... | @@ -228,6 +228,7 @@ export default { |
228 | 228 | websocketOnmessage: function (e) { |
229 | 229 | console.log("-----接收消息-------", e.data); |
230 | 230 | var data = eval("(" + e.data + ")"); //解析对象 |
231 | + this.openNotification(data) | |
231 | 232 | if (data.cmd == "topic") { |
232 | 233 | //系统通知 |
233 | 234 | this.loadData(); |
... | ... |