|
|
@@ -119,9 +119,10 @@ export default {
|
|
|
bindMonthChange(e){
|
|
|
this.dropdownShow = !this.dropdownShow
|
|
|
this.dropdownShow = false;
|
|
|
- this.defaultDateName = e.target.value
|
|
|
- console.log(e)
|
|
|
- this.$emit('selectDateFn',{searchTime:'byMonth',startTime:e.target.value})
|
|
|
+ let currentMonth = e.target.value
|
|
|
+ this.defaultDateName = currentMonth
|
|
|
+ this.showMonth = currentMonth
|
|
|
+ this.$emit('selectDateFn',{searchTime:'byMonth',startTime:currentMonth})
|
|
|
},
|
|
|
showDatePicker(index){//显示
|
|
|
this.showPicker = true;
|