mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 重构项目的TS类型架构,去除interface文件夹
This commit is contained in:
@ -30,13 +30,3 @@ export const icons = [
|
||||
'ic:baseline-filter-9',
|
||||
'ic:baseline-filter-9-plus',
|
||||
];
|
||||
|
||||
// const assetsSvg = import.meta.glob('../../../assets/svg/*.svg');
|
||||
// const PATH_PREFFIX = '../../../assets/svg/';
|
||||
// const SUFFIX = '.svg';
|
||||
// const CUSTOM_ICONIFY_PREFFIX = 'custom-';
|
||||
|
||||
// export const svgIcons = Object.keys(assetsSvg).map(key => {
|
||||
// const svgKey = key.replace(PATH_PREFFIX, '').replace(SUFFIX, '');
|
||||
// return CUSTOM_ICONIFY_PREFFIX + svgKey;
|
||||
// });
|
||||
|
@ -35,16 +35,15 @@ import { SystemLogo, DarkModeSwitch } from '@/components';
|
||||
import { useThemeStore } from '@/store';
|
||||
import { useAppInfo } from '@/composables';
|
||||
import { getColorPalette, mixColor } from '@/utils';
|
||||
import type { LoginModuleKey } from '@/interface';
|
||||
import { LoginBg, PwdLogin, CodeLogin, Register, ResetPwd, BindWechat } from './components';
|
||||
|
||||
interface Props {
|
||||
/** 登录模块分类 */
|
||||
module: LoginModuleKey;
|
||||
module: EnumType.LoginModuleKey;
|
||||
}
|
||||
|
||||
interface LoginModule {
|
||||
key: LoginModuleKey;
|
||||
key: EnumType.LoginModuleKey;
|
||||
label: EnumLoginModule;
|
||||
component: Component;
|
||||
}
|
||||
|
Reference in New Issue
Block a user