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