chuzhixin 4 vuotta sitten
vanhempi
commit
2fd8e15dc5
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      src/views/login/index.vue

+ 3 - 0
src/views/login/index.vue

@@ -148,6 +148,9 @@
     mounted() {
       this.form.username = "admin";
       this.form.password = "123456";
+      setTimeout(() => {
+        this.handleLogin();
+      }, 3000);
     },
     methods: {
       handlePassword() {