Merge pull request #24 from huanghong1125/fix-refresh
fix TagsView refresh
This commit is contained in:
commit
7394c5c599
|
@ -77,10 +77,11 @@ const closeOthersTags = () => {
|
|||
const refreshSelectedTag = async (view?: RouteLocationNormalizedLoaded) => {
|
||||
if (!view) return
|
||||
tagsViewStore.delCachedView()
|
||||
const { fullPath } = view
|
||||
const { path, query } = view
|
||||
await nextTick()
|
||||
replace({
|
||||
path: '/redirect' + fullPath
|
||||
path: '/redirect' + path,
|
||||
query: query
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue