diff --git a/apps/antd-view/src/preferences.ts b/apps/antd-view/src/preferences.ts index 415ba5b9..6fbc764b 100644 --- a/apps/antd-view/src/preferences.ts +++ b/apps/antd-view/src/preferences.ts @@ -1,4 +1,5 @@ -import type { DeepPartial, Preferences } from '@vben/types'; +import type { DeepPartial } from '@vben/types'; +import type { Preferences } from '@vben-core/preferences'; /** * @description 项目配置文件 diff --git a/packages/business/common-ui/src/theme-toggle/theme-toggle.vue b/packages/business/common-ui/src/theme-toggle/theme-toggle.vue index 8b761228..ce84d0bf 100644 --- a/packages/business/common-ui/src/theme-toggle/theme-toggle.vue +++ b/packages/business/common-ui/src/theme-toggle/theme-toggle.vue @@ -5,7 +5,7 @@ import { MdiMoonAndStars, } from '@vben-core/iconify'; import { - preferences, + flatPreferences, updatePreferences, usePreferences, } from '@vben-core/preferences'; @@ -64,11 +64,10 @@ const PRESETS = [ />