diff --git a/src/views/system/userInfo/index.vue b/src/views/system/userInfo/index.vue index 1a8bc85..1a0ab27 100644 --- a/src/views/system/userInfo/index.vue +++ b/src/views/system/userInfo/index.vue @@ -514,7 +514,7 @@ if (valid) { if (this.form.userId != undefined) { this.form.newFace = ""; - this.form.orgIds = [this.form.orgIds] + this.form.orgIds = Array.isArray(this.form.orgIds) ? this.form.orgIds : [this.form.orgIds] console.log("人员修改",this.form); updateUser(this.form).then(response => { this.$modal.msgSuccess("修改成功");