fix: element-plus版本升级问题调整
Former-commit-id: 74a0b83abe42f3ace71c23b5091a5dc7cf487213
This commit is contained in:
10
src/types/api/system/dept.d.ts
vendored
10
src/types/api/system/dept.d.ts
vendored
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* 部门查询参数类型声明
|
||||
*/
|
||||
export interface DeptQueryParam {
|
||||
export interface DeptQueryParam {
|
||||
name: string | undefined,
|
||||
status: number | undefined
|
||||
}
|
||||
@@ -12,9 +12,9 @@ export interface DeptQueryParam {
|
||||
*/
|
||||
|
||||
export interface DeptItem {
|
||||
id: number;
|
||||
id: string;
|
||||
name: string;
|
||||
parentId: number;
|
||||
parentId: string;
|
||||
treePath: string;
|
||||
sort: number;
|
||||
status: number;
|
||||
@@ -28,8 +28,8 @@ export interface DeptItem {
|
||||
* 部门表单类型声明
|
||||
*/
|
||||
export interface DeptFormData {
|
||||
id: number|undefined,
|
||||
parentId: number,
|
||||
id?: string,
|
||||
parentId: string,
|
||||
name: string,
|
||||
sort: number,
|
||||
status: number
|
||||
|
||||
4
src/types/api/system/menu.d.ts
vendored
4
src/types/api/system/menu.d.ts
vendored
@@ -30,11 +30,11 @@ export interface MenuFormData {
|
||||
/**
|
||||
* 菜单ID
|
||||
*/
|
||||
id: number | undefined,
|
||||
id: string ,
|
||||
/**
|
||||
* 父菜单ID
|
||||
*/
|
||||
parentId: number,
|
||||
parentId: string,
|
||||
/**
|
||||
* 菜单名称
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user