Commit 2df70ebdfb725c439895cbab0915f0425e36d509

Authored by Aresn
Committed by GitHub
2 parents b91fd49b 40aa9355

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 372 this.minDate = val.minDate;
373 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 383 if (!close) return;
376 384 // if (!this.showTime) {
377 385 // this.handleConfirm(false);
... ...