Jin Mao 7 сар өмнө
parent
commit
6b6cdef42d

+ 2 - 0
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": {

+ 2 - 1
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,