From 66236dfb5b80ff674e4b8feb8eb9cdd1361fbec4 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 20 Jan 2022 10:15:19 +0800 Subject: [PATCH] bug --- src/sass/AppMeetingNotice/addMeeting.vue | 2 +- src/sass/AppNotification/add.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sass/AppMeetingNotice/addMeeting.vue b/src/sass/AppMeetingNotice/addMeeting.vue index f6cb285d..e90face3 100644 --- a/src/sass/AppMeetingNotice/addMeeting.vue +++ b/src/sass/AppMeetingNotice/addMeeting.vue @@ -248,7 +248,7 @@ export default { // if (!this.form.content) return this.$u.toast("请输入会议内容") - if (!this.form.attendees.length) return this.$u.toast("请选择参会人") + if (!this.form.ticket) return this.$u.toast("请选择参会人") } this.$http.post("/app/appmeetinginfo/add-update", { diff --git a/src/sass/AppNotification/add.vue b/src/sass/AppNotification/add.vue index 70f9909a..780c7c85 100644 --- a/src/sass/AppNotification/add.vue +++ b/src/sass/AppNotification/add.vue @@ -164,7 +164,7 @@ export default { if (!this.form.content) return this.$u.toast("请输入公告内容") - if (!this.form.persons.length) return this.$u.toast("至少选择一名应用授权范围内成员") + if (!this.form.ticket) return this.$u.toast("请选择发送对象") if (this.index == 1 && !this.form.releaseTime) return this.$u.toast("请选择定时发送时间")