chore: 一些调整

This commit is contained in:
Jin Mao 2025-10-26 15:00:47 +08:00
parent 38f91da5af
commit 6b6cdef42d
2 changed files with 4 additions and 1 deletions

View File

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

View File

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