From 6d0a6f29662865220ddb7ae4298dfd55427e1fd1 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 11 Jan 2021 11:08:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/datepane/datepane.js | 2 ++ src/widget/datetimepane/datetimepane.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/widget/datepane/datepane.js b/src/widget/datepane/datepane.js index 52b8beacd..c2bdf7451 100644 --- a/src/widget/datepane/datepane.js +++ b/src/widget/datepane/datepane.js @@ -85,6 +85,8 @@ BI.DynamicDatePane = BI.inherit(BI.Widget, { default: return { type: "bi.dynamic_date_card", + min: o.minDate, + max: o.maxDate, listeners: [{ eventName: "EVENT_CHANGE", action: function () { diff --git a/src/widget/datetimepane/datetimepane.js b/src/widget/datetimepane/datetimepane.js index b822b7fb2..34e6f4224 100644 --- a/src/widget/datetimepane/datetimepane.js +++ b/src/widget/datetimepane/datetimepane.js @@ -84,6 +84,8 @@ BI.DynamicDateTimePane = BI.inherit(BI.Widget, { default: return { type: "bi.dynamic_date_card", + min: o.minDate, + max: o.maxDate, listeners: [{ eventName: "EVENT_CHANGE", action: function () {