diff --git a/src/views/HosInformation.vue b/src/views/HosInformation.vue index 5202099..907e0d4 100644 --- a/src/views/HosInformation.vue +++ b/src/views/HosInformation.vue @@ -1046,8 +1046,8 @@ export default { })); props={ - morning_worktime:this.form.morning_worktime.join('-'), - afternoon_worktime:this.form.afternoon_worktime.join('-'), + morning_worktime:this.form.morning_worktime?this.form.morning_worktime.join('-'):'', + afternoon_worktime:this.form.afternoon_worktime? this.form.afternoon_worktime.join('-') : '', week_visit_plan:JSON.stringify(worktimesArray), }