From 64aba591ee30c2c31953a852fe6a95db79fc0070 Mon Sep 17 00:00:00 2001 From: WXL (wul) <wl_5969728@163.com> Date: 星期四, 11 九月 2025 14:58:04 +0800 Subject: [PATCH] 测试完成 --- src/views/system/user/index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 4a0cfcc..71bb1b1 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -846,7 +846,6 @@ } console.log(this.form.wardCodes, "wardCodes"); console.log(this.form.deptCodes, "deptCodes"); - this.postOptions = response.posts; this.roleOptions = response.roles; this.$set(this.form, "postIds", response.postIds); @@ -927,7 +926,7 @@ adduserdept() { if (this.form.wardCodes[0]) { this.form.wardCodes.forEach((dept) => { - const containsId8 = null; + let containsId8 = null; if (this.belongWards) { containsId8 = this.belongWards.some( (item) => item.deptCode == dept @@ -948,7 +947,7 @@ } if (this.form.deptCodes[0]) { this.form.deptCodes.forEach((dept) => { - const containsId8 = null; + let containsId8 = null; if (this.belongDepts) { containsId8 = this.belongDepts.some( (item) => item.deptCode == dept -- Gitblit v1.9.3