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();
     },