|
|
@ -128,7 +128,15 @@ export default{ |
|
|
|
this.removeRecent(item); |
|
|
|
if(this.$route.path == item.path){ |
|
|
|
if(this.recentPages.length){ |
|
|
|
this.$router.push(this.recentPages[this.recentPages.length-1].path) |
|
|
|
let route = this.recentPages[this.recentPages.length-1] |
|
|
|
if (Object.keys(route.query).length > 0){ |
|
|
|
this.$router.push({ |
|
|
|
path: route.path, |
|
|
|
query: route.query |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.$router.push(route.path); |
|
|
|
} |
|
|
|
}else{ |
|
|
|
this.$router.push("/") |
|
|
|
} |
|
|
|