xiongzhu 4 лет назад
Родитель
Сommit
29507df90e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/views/account/Login.vue

+ 1 - 0
src/views/account/Login.vue

@@ -159,6 +159,7 @@ export default {
             this.check().then(() => {
                 this.$toast.success('登录成功');
                 setTimeout(() => {
+                    console.log(fromRoute);
                     if (!fromRoute.name) {
                         this.$router.replace('/home');
                     } else {