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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user