【fix ESLint】src/components/tools/HeaderNotice.vue

This commit is contained in:
danshihao
2023-03-07 16:30:25 +08:00
parent 3b41c20278
commit 6a58532a60
@@ -217,6 +217,7 @@ export default {
},
websocketOnmessage: function (e) {
console.log('-----接收消息-------', e.data)
// eslint-disable-next-line no-eval
const data = eval('(' + e.data + ')') // 解析对象
if (data.cmd + '' === 'topic') {
// 系统通知