perf(projects): perf manage menu

This commit is contained in:
Soybean
2024-03-22 01:23:24 +08:00
parent 49558ca048
commit 71f2c5535b
9 changed files with 172 additions and 37 deletions

View File

@ -502,8 +502,9 @@ declare namespace App {
menuName: string;
routeName: string;
routePath: string;
page: string;
routeParams: string;
layout: string;
page: string;
i18nKey: string;
icon: string;
localIcon: string;
@ -524,8 +525,8 @@ declare namespace App {
menuName: string;
routeName: string;
routePath: string;
page: string;
layout: string;
page: string;
i18nKey: string;
icon: string;
localIcon: string;

View File

@ -14,7 +14,7 @@ declare namespace CommonType {
* @property value: The option value
* @property label: The option label
*/
type Option<K> = { value: K; label: string };
type Option<K = string> = { value: K; label: string };
type YesOrNo = 'Y' | 'N';