fix 修复 !pr47 导致的打包异常

This commit is contained in:
疯狂的狮子Li 2023-10-16 15:13:27 +08:00
parent 920e079727
commit 6fe269efc7
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ declare global {
key: number; key: number;
label: string; label: string;
visible: boolean; visible: boolean;
children: Array<FieldOption>; children?: Array<FieldOption>;
} }
/** /**

View File

@ -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) => {