fix: 🐛 统一主键为 string 类型
This commit is contained in:
@@ -213,7 +213,7 @@ function handleSelectionChange(selection: any) {
|
||||
* @param parentId 父部门ID
|
||||
* @param deptId 部门ID
|
||||
*/
|
||||
async function handleOpenDialog(parentId?: string, deptId?: number) {
|
||||
async function handleOpenDialog(parentId?: string, deptId?: string) {
|
||||
// 加载部门下拉数据
|
||||
const data = await DeptAPI.getOptions();
|
||||
deptOptions.value = [
|
||||
|
||||
Reference in New Issue
Block a user