From 1db9d09a7977773ca1e5fa2599bbd24da357915a Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Thu, 13 Mar 2025 11:43:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=85=81=E8=AE=B8=E9=80=89=E6=8B=A9=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/index.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 387e6d3f..ba60e48f 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -385,8 +385,8 @@ function fnModalVisibleByEdit(userId?: string | number) { modalState.options.posts = posts; const { user, roleIds, postIds } = res.data; modalState.from = Object.assign(modalState.from, user); - modalState.from.roleIds = [2]; //roleIds; - modalState.from.postIds = [2]; // postIds; + 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'); @@ -1221,8 +1221,8 @@ onMounted(() => { - - + + { name="roleIds" :label-col="{ span: 3 }" v-perms:has="['system:user:editRole']" - v-if="false" >