File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed
Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 148148 :min-date =" minDate !== null ? new Date(minDate) : null"
149149 :year-only =" isYearOnly"
150150 :no-default =" true"
151+ @change =" showDate"
151152 />
152153 </div >
153154 </div >
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-month-picker" ,
3- "version" : " 1.3.0 " ,
3+ "version" : " 1.3.1 " ,
44 "main" : " src/index.js" ,
55 "description" : " A simple and elegant month picker for Vue" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ export default {
139139
140140 this .currentMonthIndex = index
141141 this .onChange ()
142+
142143 if (input) {
143144 this .$emit (' input' , this .date )
144145 }
Original file line number Diff line number Diff line change 2525 :min-date =" minDate"
2626 :year-only =" yearOnly"
2727 @input =" populateInput"
28+ @change =" $emit('change', $event)"
2829 />
2930 </div >
3031</template >
@@ -58,6 +59,7 @@ export default {
5859 },
5960 mixins: [monthPicker],
6061 emits: [
62+ ' change' ,
6163 ' input'
6264 ],
6365 data () {
You can’t perform that action at this time.
0 commit comments