From 4e3439b67de4bb1966bbd397231b44d0107fb90b Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Wed, 22 Sep 2021 19:03:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?BI-94444=20fix:IE9=E4=B8=8B=E9=A1=B5?= =?UTF-8?q?=E7=A0=81=E4=BD=8D=E7=BD=AE=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/pager/pager.all.count.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/case/pager/pager.all.count.js b/src/case/pager/pager.all.count.js index ca935b15f..8e03d57ca 100644 --- a/src/case/pager/pager.all.count.js +++ b/src/case/pager/pager.all.count.js @@ -90,6 +90,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, { this.allPages = BI.createWidget({ type: "bi.label", title: o.pages, + height: o.height, text: "/" + o.pages, lgap: 5, invisible: o.pages <= 1 From 5421a8bc747313077a48770a36d8bf7dbc7a77ee Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Wed, 22 Sep 2021 19:24:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?BI-93998=20fix:=E6=96=87=E6=9C=AC=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E5=92=8C=E6=96=87=E6=9C=AC=E5=88=97=E8=A1=A8=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E5=AD=97=E6=AE=B5=E5=80=BC=E6=9C=89=E7=A9=BA=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=8D=95=E9=80=89=E6=A8=A1=E5=BC=8F=E4=B8=8B=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E9=80=89=E4=B8=AD=E7=A9=BA=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/singleselect/search/singleselect.search.loader.js | 2 +- src/widget/singleselect/singleselect.loader.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widget/singleselect/search/singleselect.search.loader.js b/src/widget/singleselect/search/singleselect.search.loader.js index 68a953124..5d03f020c 100644 --- a/src/widget/singleselect/search/singleselect.search.loader.js +++ b/src/widget/singleselect/search/singleselect.search.loader.js @@ -60,7 +60,7 @@ BI.SingleSelectSearchLoader = BI.inherit(BI.Widget, { var keyword = ob.keyword = opts.keywordGetter(); hasNext = ob.hasNext; var firstItems = []; - if (op.times === 1 && BI.isNotNull(self.storeValue)) { + if (op.times === 1 && !BI.isUndefined(self.storeValue)) { var json = self._filterValues(self.storeValue); firstItems = self._createItems(json); } diff --git a/src/widget/singleselect/singleselect.loader.js b/src/widget/singleselect/singleselect.loader.js index 8ac73f985..6318601ab 100644 --- a/src/widget/singleselect/singleselect.loader.js +++ b/src/widget/singleselect/singleselect.loader.js @@ -60,13 +60,13 @@ BI.SingleSelectLoader = BI.inherit(BI.Widget, { }, opts.el), itemsCreator: function (op, callback) { var startValue = self._startValue; - BI.isNotNull(self.storeValue) && (op = BI.extend(op || {}, { + !BI.isUndefined(self.storeValue) && (op = BI.extend(op || {}, { selectedValues: [self.storeValue] })); opts.itemsCreator(op, function (ob) { hasNext = ob.hasNext; var firstItems = []; - if (op.times === 1 && BI.isNotNull(self.storeValue)) { + if (op.times === 1 && !BI.isUndefined(self.storeValue)) { var json = BI.map([self.storeValue], function (i, v) { var txt = opts.valueFormatter(v) || v; return {