lrf 2 年之前
父节点
当前提交
eea091e80c
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/layout/header/notice.vue

+ 3 - 2
src/layout/header/notice.vue

@@ -46,10 +46,11 @@ export default {
       });
     },
     onMessage(message) {
-      this.$notify.info({
+      this.$notify({
         title: '新消息',
         message: '您有新的消息,请注意及时处理!',
-        position: 'bottom-right',
+        position: 'top-right',
+        type: 'warning',
       });
       this.getNotRead();
     },