diff --git a/src/saas/AppCountryAlbum/components/report/Daily.vue b/src/saas/AppCountryAlbum/components/report/Daily.vue index c805485d..95921ca1 100644 --- a/src/saas/AppCountryAlbum/components/report/Daily.vue +++ b/src/saas/AppCountryAlbum/components/report/Daily.vue @@ -159,6 +159,10 @@ }, confirm () { + if (!this.content) { + return this.$toast('文本不能为空') + } + if (this.currIndex >= 0) { this.richList[this.currIndex].value = this.content } else { diff --git a/src/saas/AppCountryAlbum/components/report/InspectLog.vue b/src/saas/AppCountryAlbum/components/report/InspectLog.vue index 4da7be48..5d834880 100644 --- a/src/saas/AppCountryAlbum/components/report/InspectLog.vue +++ b/src/saas/AppCountryAlbum/components/report/InspectLog.vue @@ -168,6 +168,10 @@ }, confirm () { + if (!this.content) { + return this.$toast('文本不能为空') + } + if (this.currIndex >= 0) { this.richList[this.currIndex].value = this.content } else { diff --git a/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue b/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue index 2c5bb75e..4d241ea7 100644 --- a/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue +++ b/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue @@ -188,6 +188,10 @@ }, confirm () { + if (!this.content) { + return this.$toast('文本不能为空') + } + if (this.currIndex >= 0) { this.richList[this.currIndex].value = this.content } else { diff --git a/src/saas/AppCountryAlbum/components/report/WorkReport.vue b/src/saas/AppCountryAlbum/components/report/WorkReport.vue index bb1d62f6..b0fbf515 100644 --- a/src/saas/AppCountryAlbum/components/report/WorkReport.vue +++ b/src/saas/AppCountryAlbum/components/report/WorkReport.vue @@ -159,6 +159,10 @@ }, confirm () { + if (!this.content) { + return this.$toast('文本不能为空') + } + if (this.currIndex >= 0) { this.richList[this.currIndex].value = this.content } else {