File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 6
6
},
7
7
"name" : " vue-functional-calendar" ,
8
8
"description" : " Lightweight, high-performance calendar component based on Vue.js" ,
9
- "version" : " 2.6.2 " ,
9
+ "version" : " 2.6.3 " ,
10
10
"license" : " MIT" ,
11
11
"repository" : {
12
12
"type" : " git" ,
Original file line number Diff line number Diff line change 92
92
<h2 class =" vfc-top-date"
93
93
v-if =" checkHiddenElement('month')" >
94
94
<a href =" #" @click.prevent =" openMonthPicker(key)"
95
- :class =" {'vfc-cursor-pointer vfc-underline':changeMonthFunction, 'vfc-underline-active':showMonthPicker}" >
95
+ :class =" {'vfc-cursor-pointer vfc-underline':fConfigs. changeMonthFunction, 'vfc-underline-active':showMonthPicker}" >
96
96
{{ calendarItem.month }}
97
97
</a >
98
98
<a href =" #" @click.prevent =" openYearPicker(key)"
99
- :class =" {'vfc-cursor-pointer vfc-underline':changeMonthFunction , 'vfc-underline-active':showYearPicker}" >
99
+ :class =" {'vfc-cursor-pointer vfc-underline':fConfigs.changeYearFunction , 'vfc-underline-active':showYearPicker}" >
100
100
{{ calendarItem.year }}
101
101
</a >
102
102
</h2 >
780
780
}
781
781
},
782
782
openYearPicker () {
783
- this .showYearPicker = ! this .showYearPicker ;
784
- this .showMonthPicker = false ;
783
+ if (this .fConfigs .changeYearFunction ) {
784
+ this .showYearPicker = ! this .showYearPicker ;
785
+ this .showMonthPicker = false ;
786
+ }
785
787
},
786
788
openTimePicker () {
787
789
this .showTimePicker = true ;
You can’t perform that action at this time.
0 commit comments