lrf hace 2 años
padre
commit
eea091e80c
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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();
     },