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("请选择定时发送时间")