Skip to content

Commit

Permalink
fix: popup sholud be not auto closed in time range
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxiong10 committed Jul 13, 2020
1 parent c683bb7 commit a4e5019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/time/time-range.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a4e5019

Please sign in to comment.