mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 05:50:18 +08:00
fix(projects): 修复项目配置拷贝功能
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { EnumThemeLayoutMode, EnumThemeTabMode, EnumThemeHorizontalMenuPosition, EnumThemeAnimateMode } from '@/enum';
|
||||
import type { ThemeSetting } from '@/interface';
|
||||
import jsonSetting from './theme.json';
|
||||
|
||||
const themeColorList = [
|
||||
'#1890ff',
|
||||
@@ -101,4 +102,4 @@ const defaultThemeSetting: ThemeSetting = {
|
||||
}
|
||||
};
|
||||
|
||||
export const themeSetting = defaultThemeSetting;
|
||||
export const themeSetting = (jsonSetting as ThemeSetting) || defaultThemeSetting;
|
||||
|
||||
Reference in New Issue
Block a user