fix: 菜单ID类型声明错误修改

Former-commit-id: 9819c4c1b6ed8741fc412cecbd9f459f74ef7b57
This commit is contained in:
郝先瑞
2022-04-19 12:26:43 +08:00
parent 23771a1fdc
commit 66d411c32e
2 changed files with 8 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ export interface MenuFormData {
/**
* 菜单ID
*/
id: string ,
id?: string ,
/**
* 父菜单ID
*/
@@ -51,7 +51,7 @@ export interface MenuFormData {
/**
* 组件路径
*/
component: string,
component?: string,
/**
* 路由路径
*/