From aa75470343a83e9070b549f0cc01c07d6dcd50ce Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 1 Feb 2021 18:25:53 +0800 Subject: [PATCH] =?UTF-8?q?BI-81309=20fix:=20=E5=90=8C=E6=AD=A5=E5=B9=B4?= =?UTF-8?q?=E6=9C=88=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/yearinterval/yearinterval.js | 5 ----- src/widget/yearquarterinterval/yearquarterinterval.js | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/widget/yearinterval/yearinterval.js b/src/widget/yearinterval/yearinterval.js index c0a295b0d5..9a29862712 100644 --- a/src/widget/yearinterval/yearinterval.js +++ b/src/widget/yearinterval/yearinterval.js @@ -94,11 +94,6 @@ BI.YearInterval = BI.inherit(BI.Single, { self._checkValid(); }); - combo.on(BI.DynamicYearCombo.EVENT_BEFORE_POPUPVIEW, function () { - self.left.hideView(); - self.right.hideView(); - }); - combo.on(BI.DynamicYearCombo.EVENT_CONFIRM, function () { BI.Bubbles.hide("error"); var smallDate = self.left.getKey(), bigDate = self.right.getKey(); diff --git a/src/widget/yearquarterinterval/yearquarterinterval.js b/src/widget/yearquarterinterval/yearquarterinterval.js index 2683ddc1d2..4dbf4f691c 100644 --- a/src/widget/yearquarterinterval/yearquarterinterval.js +++ b/src/widget/yearquarterinterval/yearquarterinterval.js @@ -94,11 +94,6 @@ BI.YearQuarterInterval = BI.inherit(BI.Single, { self._checkValid(); }); - combo.on(BI.DynamicYearQuarterCombo.EVENT_BEFORE_POPUPVIEW, function () { - self.left.hideView(); - self.right.hideView(); - }); - combo.on(BI.DynamicYearQuarterCombo.EVENT_CONFIRM, function () { BI.Bubbles.hide("error"); var smallDate = self.left.getKey(), bigDate = self.right.getKey();