scorpio 2 роки тому
батько
коміт
588a9c6e29
1 змінених файлів з 0 додано та 7 видалено
  1. 0 7
      src/layout/top.vue

+ 0 - 7
src/layout/top.vue

@@ -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',
@@ -206,12 +205,6 @@ export default {
     // 客户端接收服务端数据时触发
     websocketonmessage(e) {
       console.log(e.data)
-      ElNotification({
-        title: 'Warning',
-        message: e.data,
-        type: 'success',
-        offset: 100
-      })
       // 收到服务器信息,心跳重置
       this.reset()
     },