lrf 2 lat temu
rodzic
commit
eea091e80c
1 zmienionych plików z 3 dodań i 2 usunięć
  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();
     },