lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
124fe38fe5
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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>