mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-14 22:12:00 +08:00
merge
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user