Skip to content

Commit a4e5019

Browse files
committed
fix: popup sholud be not auto closed in time range
1 parent c683bb7 commit a4e5019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/time/time-range.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
methods: {
3636
emitChange(type, index) {
3737
const date = [this.startValue, this.endValue];
38-
this.$emit('select', date, type, index);
38+
this.$emit('select', date, type === 'time' ? 'time-range' : type, index);
3939
},
4040
handleSelectStart(date, type) {
4141
this.startValue = date;

0 commit comments

Comments
 (0)