diff --git a/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue b/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue index a60e71d6..050adabb 100644 --- a/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue +++ b/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue @@ -494,10 +494,12 @@ export default { ...this.dataForm, ...res.data, }; - if (res.data.moStartTime !== "" && res.data.afStartTime !== "") { + if (res.data.moStartTime !== "") { this.morningTime = [res.data.moStartTime, res.data.moEndTime]; - this.afterTime = [res.data.afStartTime, res.data.afEndTime]; } + if (res.data.afStartTime !== "") { + this.afterTime = [res.data.afStartTime, res.data.afEndTime]; + } if (!this.dataForm.longitude && !this.dataForm.latitude) { this.dataForm.longitude = "120.38945519"; this.dataForm.latitude = "36.0722275";