lrf il y a 2 ans
Parent
commit
eea091e80c
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  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();
     },