From 3298203f607705ee1a8d31e5be9f2c41cfd2a47b Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 18 Jun 2024 19:12:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=A8=E6=88=B7=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=80=89=E5=8F=96=E8=87=AA=E8=BA=AB=E6=8B=A5?= =?UTF-8?q?=E6=9C=89=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 261ce375..ac917cb2 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -385,6 +385,7 @@ function fnModalVisibleByEdit(userId?: string | number) { modalState.from = Object.assign(modalState.from, user); modalState.from.roleIds = roleIds; modalState.from.postIds = postIds; + modalState.from.deptId = deptTreeData.value[0].id; modalState.title = t('common.addText') + t('views.system.user.userInfo'); modalState.visibleByEdit = true; @@ -1218,7 +1219,12 @@ onMounted(() => { - +