mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-14 20:53:41 +08:00
fix(types): fix ts type error
This commit is contained in:
2
src/typings/app.d.ts
vendored
2
src/typings/app.d.ts
vendored
@@ -374,7 +374,7 @@ declare namespace App {
|
|||||||
themeColor: {
|
themeColor: {
|
||||||
title: string;
|
title: string;
|
||||||
followPrimary: string;
|
followPrimary: string;
|
||||||
} & Theme.ThemeColor;
|
} & Record<Theme.ThemeColorKey, string>;
|
||||||
recommendColor: string;
|
recommendColor: string;
|
||||||
recommendColorDesc: string;
|
recommendColorDesc: string;
|
||||||
preset: {
|
preset: {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const appStore = useAppStore();
|
|||||||
const themeStore = useThemeStore();
|
const themeStore = useThemeStore();
|
||||||
|
|
||||||
interface LoginModule {
|
interface LoginModule {
|
||||||
label: string;
|
label: App.I18n.I18nKey;
|
||||||
component: Component;
|
component: Component;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user