用户修改

This commit is contained in:
cwchen 2025-02-28 11:21:56 +08:00
parent 3408e0b68e
commit 5a3e7057f7
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@
if (valid) { if (valid) {
if (this.form.userId != undefined) { if (this.form.userId != undefined) {
this.form.newFace = ""; 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); console.log("人员修改",this.form);
updateUser(this.form).then(response => { updateUser(this.form).then(response => {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");