We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3946ada commit 5726479Copy full SHA for 5726479
src/store/modules/tabbar.ts
@@ -19,7 +19,7 @@ export const useTabbarStore = defineStore(
19
}
20
})
21
const meta = route.matched.at(-1)?.meta
22
- const tabId = route.fullPath
+ const tabId = route.path
23
if (route.name !== 'reload') {
24
// 记录查找到的标签页
25
const findTab = list.value.find((item) => {
src/utils/composables/useTabbar.ts
@@ -7,7 +7,7 @@ export default function useTabbar() {
7
const tabbarStore = useTabbarStore()
8
9
function getId() {
10
- return route.fullPath
+ return route.path
11
12
13
function closeById(tabId = getId()) {
0 commit comments