2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-05-27 17:44:07 +03:00

fix: popup sholud be not auto closed in time range

This commit is contained in:
mengxiong10
2020-07-13 10:28:36 +08:00
parent c683bb7716
commit a4e5019e2e
+1 -1
View File
@@ -35,7 +35,7 @@ export default {
methods: {
emitChange(type, index) {
const date = [this.startValue, this.endValue];
this.$emit('select', date, type, index);
this.$emit('select', date, type === 'time' ? 'time-range' : type, index);
},
handleSelectStart(date, type) {
this.startValue = date;