This commit is contained in:
xingyu4j
2025-11-24 11:47:31 +08:00
185 changed files with 2651 additions and 939 deletions

View File

@@ -6,4 +6,4 @@ declare module 'pinia' {
): (newModule: any) => any;
}
export {};
export { acceptHMRUpdate };

View File

@@ -504,7 +504,7 @@ export const useTabbarStore = defineStore('core-tabbar', {
affixTabs(): TabDefinition[] {
const affixTabs = this.tabs.filter((tab) => isAffixTab(tab));
return affixTabs.sort((a, b) => {
return affixTabs.toSorted((a, b) => {
const orderA = (a.meta?.affixTabOrder ?? 0) as number;
const orderB = (b.meta?.affixTabOrder ?? 0) as number;
return orderA - orderB;