diff --git a/components/bookBox.vue b/components/bookBox.vue index 1408261..63eac5c 100644 --- a/components/bookBox.vue +++ b/components/bookBox.vue @@ -93,6 +93,7 @@ export default { this.selectDay = chooseDate; }else{ this.selectDay = Object.keys(this.RegistrationTimeList)[0]; + if(!this.selectDay)return this.chooseDay(this.selectDay) return } @@ -103,7 +104,7 @@ export default { chooseDay(date){ this.selectDay = date this.bookTimeList = false - this.$emit('getAvailabletRegistrationTime', date) + this.$emit('getAvailabletRegistrationTime', true,this.selectDay) // if(book.am.length > 0 || book.pm.length > 0) this.bookTimeList = true // this.timeList = book }, diff --git a/components/inputBox.vue b/components/inputBox.vue index 271d293..2dec23d 100644 --- a/components/inputBox.vue +++ b/components/inputBox.vue @@ -1,4 +1,4 @@ -