Commit 2df70ebdfb725c439895cbab0915f0425e36d509
Committed by
GitHub
Merge pull request #2356 from SergioCrisostomo/fix-2122
Patch Chromium bug
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
src/components/date-picker/panel/date-range.vue
@@ -372,6 +372,14 @@ | @@ -372,6 +372,14 @@ | ||
372 | this.minDate = val.minDate; | 372 | this.minDate = val.minDate; |
373 | this.maxDate = val.maxDate; | 373 | this.maxDate = val.maxDate; |
374 | 374 | ||
375 | + // Remove when Chromium has fixed bug | ||
376 | + // https://github.com/iview/iview/issues/2122 | ||
377 | + this.$nextTick(() => { | ||
378 | + this.minDate = val.minDate; | ||
379 | + this.maxDate = val.maxDate; | ||
380 | + }); | ||
381 | + /* end of #2122 patch */ | ||
382 | + | ||
375 | if (!close) return; | 383 | if (!close) return; |
376 | // if (!this.showTime) { | 384 | // if (!this.showTime) { |
377 | // this.handleConfirm(false); | 385 | // this.handleConfirm(false); |