瀏覽代碼

Merge branch 'feature' into develop

scorpio 2 年之前
父節點
當前提交
f5b536d3d3
共有 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',
@@ -200,12 +199,6 @@ export default {
     // 客户端接收服务端数据时触发
     websocketonmessage(e) {
       console.log(e.data)
-      ElNotification({
-        title: 'Warning',
-        message: e.data,
-        type: 'success',
-        offset: 100
-      })
       // 收到服务器信息,心跳重置
       this.reset()
     },