Skip to content

Commit

Permalink
fix: fix refresh with query
Browse files Browse the repository at this point in the history
  • Loading branch information
huanghong1125 committed Mar 30, 2022
1 parent ecf375c commit e94020f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/TagsView/src/TagsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}
Expand Down

0 comments on commit e94020f

Please sign in to comment.