mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-10 00:12:27 +08:00
refactor: remove unused files, bug fixes and name changes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user