【fix ESLint】components/jero、components/layouts、components/tools、utils、views/account/center、views/demo、views/system
This commit is contained in:
@@ -217,7 +217,7 @@ export default {
|
||||
},
|
||||
websocketOnmessage: function (e) {
|
||||
console.log('-----接收消息-------', e.data)
|
||||
const data = eval('(' + e.data + ')') // 解析对象
|
||||
const data = JSON.parse(e.data) // 解析对象
|
||||
if (data.cmd + '' === 'topic') {
|
||||
// 系统通知
|
||||
this.loadData()
|
||||
|
||||
Reference in New Issue
Block a user