Commit 40aa9355085cf3fa24993841b7e73b6865b4a342

Authored by Sergio Crisostomo
1 parent cd92d878

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);
... ...