diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c07edb..5c37e69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.2.3](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.2.2...v1.2.3) (2022-03-31) + + +### Bug Fixes + +* fix refresh with query ([e94020f](https://github.com/kailong321200875/vue-element-plus-admin/commit/e94020ff541a061599486c0003258f1dbf13aba8)) + ### [1.2.2](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.2.1...v1.2.2) (2022-03-30) diff --git a/package.json b/package.json index d46eff5..cd84157 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-element-plus-admin", - "version": "1.2.2", + "version": "1.2.3", "description": "一套基于vue3、element-plus、typesScript、vite2的后台集成方案。", "author": "Archer <502431556@qq.com>", "private": false, diff --git a/src/components/TagsView/src/TagsView.vue b/src/components/TagsView/src/TagsView.vue index dd70218..c142d71 100644 --- a/src/components/TagsView/src/TagsView.vue +++ b/src/components/TagsView/src/TagsView.vue @@ -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 }) }