This commit is contained in:
dap
2024-10-05 13:16:24 +08:00
14 changed files with 2524 additions and 378 deletions

View File

@@ -209,7 +209,7 @@ export const useTabbarStore = defineStore('core-tabbar', {
(item) => getTabPath(item) === getTabPath(tab),
);
if (index >= 0 && index < this.tabs.length - 1) {
if (index !== -1 && index < this.tabs.length - 1) {
const rightTabs = this.tabs.slice(index + 1);
const paths: string[] = [];