perf: optimize the naming of locale key

This commit is contained in:
vince
2024-07-10 21:55:16 +08:00
parent 25a1e93ab2
commit 4674380266
59 changed files with 664 additions and 1253 deletions

View File

@@ -101,7 +101,7 @@ describe('useCoreAccessStore', () => {
const store = useCoreTabbarStore();
store.cachedTabs.add('Home');
store.cachedTabs.add('About');
expect(store.cachedTabs).toEqual(['Home', 'About']);
expect(store.getCachedTabs).toEqual(['Home', 'About']);
});
it('returns all tabs, including affix tabs', () => {