Browse Source

chore: 一些调整

pull/6850/head
Jin Mao 3 months ago
parent
commit
6b6cdef42d
  1. 2
      packages/@core/preferences/__tests__/__snapshots__/config.test.ts.snap
  2. 3
      packages/@core/preferences/src/config.ts

2
packages/@core/preferences/__tests__/__snapshots__/config.test.ts.snap

@ -22,6 +22,7 @@ exports[`defaultPreferences immutability test > should not modify the config obj
"enableCheckUpdates": true,
"enablePreferences": true,
"enableRefreshToken": false,
"enableStickyPreferencesNavigationBar": true,
"isMobile": false,
"layout": "sidebar-nav",
"locale": "zh-CN",
@ -29,6 +30,7 @@ exports[`defaultPreferences immutability test > should not modify the config obj
"name": "Vben Admin",
"preferencesButtonPosition": "auto",
"watermark": false,
"watermarkContent": "",
"zIndex": 200,
},
"breadcrumb": {

3
packages/@core/preferences/src/config.ts

@ -1,4 +1,4 @@
import type { Preferences } from './types';
import type { Preferences } from "./types";
const defaultPreferences: Preferences = {
app: {
@ -32,6 +32,7 @@ const defaultPreferences: Preferences = {
watermark: false,
watermarkContent: '',
zIndex: 200,
},
breadcrumb: {
enable: true,

Loading…
Cancel
Save