fix 修复 !pr47 导致的打包异常
This commit is contained in:
parent
920e079727
commit
6fe269efc7
2
src/types/global.d.ts
vendored
2
src/types/global.d.ts
vendored
@ -13,7 +13,7 @@ declare global {
|
|||||||
key: number;
|
key: number;
|
||||||
label: string;
|
label: string;
|
||||||
visible: boolean;
|
visible: boolean;
|
||||||
children: Array<FieldOption>;
|
children?: Array<FieldOption>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -561,7 +561,7 @@ const handleAdd = async () => {
|
|||||||
await initTreeData();
|
await initTreeData();
|
||||||
postOptions.value = data.posts;
|
postOptions.value = data.posts;
|
||||||
roleOptions.value = data.roles;
|
roleOptions.value = data.roles;
|
||||||
form.value.password = initPassword.value;
|
form.value.password = initPassword.value.toString();
|
||||||
}
|
}
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
const handleUpdate = async (row?: UserForm) => {
|
const handleUpdate = async (row?: UserForm) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user