From 84812f477ad7858f026be67aa548a8045e50df84 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 21 Dec 2021 18:40:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E4=BA=BA=E5=A2=9E=E5=8A=A0=E9=98=B2?= =?UTF-8?q?=E6=8A=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sass/AppNotification/add.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sass/AppNotification/add.vue b/src/sass/AppNotification/add.vue index fb05da9e..4ee76287 100644 --- a/src/sass/AppNotification/add.vue +++ b/src/sass/AppNotification/add.vue @@ -94,6 +94,7 @@ export default { second: true, timestamp: true, }, + clickedUserSelect: false } }, @@ -108,12 +109,17 @@ export default { methods: { ...mapActions(['selectEnterpriseContact']), handleSelectUser() { + if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器") + this.clickedUserSelect = true this.selectEnterpriseContact({ fromDepartmentId: 0, type: ["user"], selectedUserIds: this.form.persons?.map(e => e.id) }).then(res => { this.form.persons = res?.userList || [] + this.clickedUserSelect = false + }).catch(() => { + this.clickedUserSelect = false }) }, confirm(e) {