瀏覽代碼

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>