We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
time range
1 parent c683bb7 commit a4e5019Copy full SHA for a4e5019
src/time/time-range.js
@@ -35,7 +35,7 @@ export default {
35
methods: {
36
emitChange(type, index) {
37
const date = [this.startValue, this.endValue];
38
- this.$emit('select', date, type, index);
+ this.$emit('select', date, type === 'time' ? 'time-range' : type, index);
39
},
40
handleSelectStart(date, type) {
41
this.startValue = date;
0 commit comments