From dca95db7759cfe074010f76365a47fdb212b08c2 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 19 Mar 2021 14:14:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=90=8D?= 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, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/datepane/datepane.js b/src/widget/datepane/datepane.js index d83b72022..3537797c3 100644 --- a/src/widget/datepane/datepane.js +++ b/src/widget/datepane/datepane.js @@ -123,7 +123,7 @@ BI.DynamicDatePane = BI.inherit(BI.Widget, { action: function () { var type = self.dateTab.getSelect(); if (type === BI.DynamicDateCombo.Dynamic) { - self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE); + self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePopup.EVENT_CHANGE); } else { self.fireEvent(BI.DynamicDatePane.EVENT_CHANGE); } diff --git a/src/widget/datetimepane/datetimepane.js b/src/widget/datetimepane/datetimepane.js index 4b971aa8c..166d016e8 100644 --- a/src/widget/datetimepane/datetimepane.js +++ b/src/widget/datetimepane/datetimepane.js @@ -123,7 +123,7 @@ BI.DynamicDateTimePane = BI.inherit(BI.Widget, { action: function () { var type = self.dateTab.getSelect(); if (type === BI.DynamicDateCombo.Dynamic) { - self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE); + self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePane.EVENT_CHANGE); } else { self.fireEvent(BI.DynamicDatePane.EVENT_CHANGE); }