Sfoglia il codice sorgente

解决进入空白页问题

asd123a20 4 anni fa
parent
commit
c8533378c5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/login.vue

+ 1 - 1
src/views/login.vue

@@ -48,7 +48,7 @@ export default {
       const res = await this.login({ userName: this.userName, password: this.password })
       if (res.errcode === 0) {
         sessionStorage.setItem('token', res.token)
-        this.$router.push({ path: '/home/devinfo' })
+        this.$router.push({ path: '/devinfo' })
       }
     }
   }