diff --git a/components/SelectYear.vue b/components/SelectYear.vue index 309c976..0b08fcb 100644 --- a/components/SelectYear.vue +++ b/components/SelectYear.vue @@ -44,11 +44,11 @@ export default { }, methods: { handleYearChange(e) { - this.currentYear = this.years[e.detail.value]; + this.currentYear = this.years[e.detail.value]; }, comfirmYear(){ - this.$emit('change', this.currentYear) - this.closePop() + this.$emit('change', this.currentYear) + this.closePop() }, show(){ this.$refs.selectDate.open('bottom')