feat: add dashboard page

This commit is contained in:
vben
2024-06-23 23:18:55 +08:00
parent 199d5506ac
commit c58c0797ba
100 changed files with 1908 additions and 1081 deletions

View File

@@ -27,7 +27,7 @@ const defaultPreferences: Preferences = {
styleType: 'normal',
},
footer: {
enable: true,
enable: false,
fixed: true,
},
header: {

View File

@@ -36,7 +36,7 @@ describe('preferences', () => {
});
it('initPreferences should initialize preferences with overrides and namespace', async () => {
const overrides = { theme: { colorPrimary: 'hsl(211 91% 39%)' } };
const overrides = { theme: { colorPrimary: 'hsl(245 82% 67%)' } };
const namespace = 'testNamespace';
await preferenceManager.initPreferences({ namespace, overrides });