diff --git a/src/widget/timeinterval/dateinterval.js b/src/widget/timeinterval/dateinterval.js index 12a1d2b27b..97f2b0f736 100644 --- a/src/widget/timeinterval/dateinterval.js +++ b/src/widget/timeinterval/dateinterval.js @@ -109,10 +109,10 @@ BI.DateInterval = BI.inherit(BI.Single, { } }); - combo.on(BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, function () { - self.left.hidePopupView(); - self.right.hidePopupView(); - }); + // combo.on(BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, function () { + // self.left.hidePopupView(); + // self.right.hidePopupView(); + // }); combo.on(BI.DynamicDateCombo.EVENT_CONFIRM, function () { BI.Bubbles.hide("error"); diff --git a/src/widget/timeinterval/timeinterval.js b/src/widget/timeinterval/timeinterval.js index 83bd84aa0c..20d307da1c 100644 --- a/src/widget/timeinterval/timeinterval.js +++ b/src/widget/timeinterval/timeinterval.js @@ -109,10 +109,11 @@ BI.TimeInterval = BI.inherit(BI.Single, { } }); - combo.on(BI.DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW, function () { - self.left.hidePopupView(); - self.right.hidePopupView(); - }); + // 不知道干啥的,先注释掉 + // combo.on(BI.DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW, function () { + // self.left.hidePopupView(); + // self.right.hidePopupView(); + // }); combo.on(BI.DynamicDateTimeCombo.EVENT_CONFIRM, function () { BI.Bubbles.hide("error");