zhulizhen1111 %!s(int64=5) %!d(string=hai) anos
pai
achega
f200760db0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/auth/index.vue

+ 1 - 1
src/views/auth/index.vue

@@ -12,7 +12,7 @@ export default {
     created(){
         let lastRoute = this.$store.getters['lastRoute'].path.split('/')[1]
         console.log(lastRoute)
-        if (lastRoute != 'auth') {
+        if (lastRoute) {
             this.$router.replace(lastRoute)
         } else {
             this.$router.replace('/strategy')