refactor: remove unused files, bug fixes and name changes

This commit is contained in:
Hansen Wang
2023-04-24 02:09:39 +08:00
parent e1528823f7
commit 5d891c1f44
32 changed files with 352 additions and 417 deletions

View File

@@ -1,6 +1,6 @@
import * as NaiveUI from 'naive-ui';
import { computed } from 'vue';
import { useDesignSettingWithOut } from '@/store/modules/designSetting';
import { useDesignSetting } from '@/store/modules/designSetting';
import { lighten } from '@/utils/index';
/**
@@ -10,7 +10,7 @@ import { lighten } from '@/utils/index';
*/
export function setupNaiveDiscreteApi() {
const designStore = useDesignSettingWithOut();
const designStore = useDesignSetting();
const configProviderPropsRef = computed(() => ({
theme: designStore.darkTheme ? NaiveUI.darkTheme : undefined,