fix: lint

This commit is contained in:
xingyu4j
2025-11-17 12:15:14 +08:00
parent 655ce2c2e8
commit bed52983a0
135 changed files with 203 additions and 215 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;