소스 검색

bug 修复

lilei 3 년 전
부모
커밋
124fe38fe5
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/App.vue

+ 6 - 0
src/App.vue

@@ -33,6 +33,12 @@ export default {
     window.addEventListener('beforeunload', () => {
       sessionStorage.setItem('store', JSON.stringify(this.$store.state))
     })
+
+    this.$message.config({
+      top: `100px`,
+      duration: 2,
+      maxCount: 3
+    })
   }
 }
 </script>