From b970185536bc58742fc29946b50c487a2de52bac Mon Sep 17 00:00:00 2001 From: kknd97 Date: Thu, 20 Oct 2022 06:27:02 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/src/views/system/user/index.v?= =?UTF-8?q?ue.=20handleUpdate(row)=E6=96=B9=E6=B3=95=E4=B8=AD=EF=BC=9Athis?= =?UTF-8?q?.form=20=3D=20response.data;=E8=AF=AD=E5=8F=A5=20=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E3=80=90this.form.postIds=20=3D=20response.p?= =?UTF-8?q?ostIds;=E3=80=91=E5=92=8C=E3=80=90this.form.roleIds=20=3D=20res?= =?UTF-8?q?ponse.roleIds;=E3=80=91=E5=A4=B1=E6=95=88=E3=80=82=20=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=94=A8=E6=88=B7=E7=BC=96=E8=BE=91=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=A1=86=E4=B8=AD=EF=BC=8C=E8=A7=92=E8=89=B2=E5=92=8C=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E5=A4=9A=E9=80=89=E6=A1=86=E6=97=A0=E6=B3=95=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E4=BF=AE=E6=94=B9=E3=80=82=20=E5=BB=BA=E8=AE=AE?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E4=BB=A5=E4=B8=8B=E8=AF=AD=E5=8F=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=9A=20this.$set(this.form,=20"postIds",=20respon?= =?UTF-8?q?se.postIds);=20this.$set(this.form,=20"roleIds",=20response.rol?= =?UTF-8?q?eIds);?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kknd97 --- ruoyi-ui/src/views/system/user/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index a26a33f..2494fa2 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -576,8 +576,8 @@ export default { this.form = response.data; this.postOptions = response.posts; this.roleOptions = response.roles; - this.form.postIds = response.postIds; - this.form.roleIds = response.roleIds; + this.$set(this.form, "postIds", response.postIds); + this.$set(this.form, "roleIds", response.roleIds); this.open = true; this.title = "修改用户"; this.form.password = "";