From ec076c1e0db01fc5e1de4045dffd850cf82632bd Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 29 十月 2022 00:00:00 +0800 Subject: [PATCH] update 优化 单元测试乱码问题 指定运行编码 --- ruoyi-ui/src/views/system/user/index.vue | 4 ++-- 1 files 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 72bb942..3edf44a 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -576,8 +576,8 @@ this.form = response.data.user; this.postOptions = response.data.posts; this.roleOptions = response.data.roles; - this.form.postIds = response.data.postIds; - this.form.roleIds = response.data.roleIds; + this.$set(this.form, "postIds", response.data.postIds); + this.$set(this.form, "roleIds", response.data.roleIds); this.open = true; this.title = "淇敼鐢ㄦ埛"; this.form.password = ""; -- Gitblit v1.9.3