From 40aa9355085cf3fa24993841b7e73b6865b4a342 Mon Sep 17 00:00:00 2001 From: Sergio Crisostomo Date: Wed, 8 Nov 2017 09:54:14 +0100 Subject: [PATCH] patch chromium bug --- src/components/date-picker/panel/date-range.vue | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/src/components/date-picker/panel/date-range.vue b/src/components/date-picker/panel/date-range.vue index 81c123e..44e77fc 100644 --- a/src/components/date-picker/panel/date-range.vue +++ b/src/components/date-picker/panel/date-range.vue @@ -372,6 +372,14 @@ this.minDate = val.minDate; this.maxDate = val.maxDate; + // Remove when Chromium has fixed bug + // https://github.com/iview/iview/issues/2122 + this.$nextTick(() => { + this.minDate = val.minDate; + this.maxDate = val.maxDate; + }); + /* end of #2122 patch */ + if (!close) return; // if (!this.showTime) { // this.handleConfirm(false); -- libgit2 0.21.4