From 6a58532a604a9d572f7d0a86b66654562806a242 Mon Sep 17 00:00:00 2001 From: danshihao Date: Tue, 7 Mar 2023 16:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=20ESLint=E3=80=91src/components/to?= =?UTF-8?q?ols/HeaderNotice.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/tools/HeaderNotice.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/jero-web/src/components/tools/HeaderNotice.vue b/jero-web/src/components/tools/HeaderNotice.vue index ffd5ad0b..9a54a1fa 100644 --- a/jero-web/src/components/tools/HeaderNotice.vue +++ b/jero-web/src/components/tools/HeaderNotice.vue @@ -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') { // 系统通知