|
|
@@ -82,7 +82,6 @@ import { useStore } from '../store/user.js'
|
|
|
import permissionStore from '@/store/permission.js'
|
|
|
import search from './search/index.vue'
|
|
|
import config from '../config/website.js'
|
|
|
-import { ElNotification } from 'element-plus'
|
|
|
|
|
|
export default {
|
|
|
name: 'top',
|
|
|
@@ -200,12 +199,6 @@ export default {
|
|
|
// 客户端接收服务端数据时触发
|
|
|
websocketonmessage(e) {
|
|
|
console.log(e.data)
|
|
|
- ElNotification({
|
|
|
- title: 'Warning',
|
|
|
- message: e.data,
|
|
|
- type: 'success',
|
|
|
- offset: 100
|
|
|
- })
|
|
|
// 收到服务器信息,心跳重置
|
|
|
this.reset()
|
|
|
},
|