更改id类型为string

This commit is contained in:
2026-03-19 15:41:02 +08:00
parent bbc10ce359
commit e94204423b
14 changed files with 75 additions and 53 deletions

View File

@@ -70,13 +70,13 @@ import {ElMessage} from "element-plus";
// 定义接口来定义对象的类型
interface TableDataRow {
deptName: string;
id: number;
parentId:number;
id: string;
parentId:string;
children?: TableDataRow[];
}
interface RuleFormState {
deptId:number;
parentId: number;
deptId:string;
parentId: string;
deptName: string;
orderNum: number;
leader: string;