From 6fe269efc7fb469aa536b123ef8be6da5085001d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 16 十月 2023 15:13:27 +0800 Subject: [PATCH] fix 修复 !pr47 导致的打包异常 --- src/views/system/user/index.vue | 2 +- src/types/global.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 130f855..32081bf 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -13,7 +13,7 @@ key: number; label: string; visible: boolean; - children: Array<FieldOption>; + children?: Array<FieldOption>; } /** diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 3dbb083..100b5a7 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -561,7 +561,7 @@ await initTreeData(); postOptions.value = data.posts; roleOptions.value = data.roles; - form.value.password = initPassword.value; + form.value.password = initPassword.value.toString(); } /** 淇敼鎸夐挳鎿嶄綔 */ const handleUpdate = async (row?: UserForm) => { -- Gitblit v1.9.3