mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-10 05:31:08 +08:00
add nexTcik
This commit is contained in:
parent
28a0bc1856
commit
02e88cf15f
@ -32,10 +32,12 @@ export default {
|
||||
// In order to make the cached page re-rendered
|
||||
this.$store.dispatch('delAllCachedViews', this.$route)
|
||||
|
||||
const { path } = this.$route
|
||||
const { fullPath } = this.$route
|
||||
|
||||
this.$router.replace({
|
||||
path: '/redirect' + path
|
||||
this.$nextTick(() => {
|
||||
this.$router.replace({
|
||||
path: '/redirect' + fullPath
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user