From 7b587521a7e1f4f149f1693fadc16a1fb36a9695 Mon Sep 17 00:00:00 2001 From: Guyi Date: Thu, 24 Jun 2021 14:43:28 +0800 Subject: [PATCH] =?UTF-8?q?JSY-7484=20refactor=EF=BC=9AMultiLayerDownListP?= =?UTF-8?q?opup=E6=94=AF=E6=8C=81=E8=B0=83=E6=95=B4item=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/multilayerdownlist/popup.downlist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/multilayerdownlist/popup.downlist.js b/src/widget/multilayerdownlist/popup.downlist.js index 837d551fd..a33269aff 100644 --- a/src/widget/multilayerdownlist/popup.downlist.js +++ b/src/widget/multilayerdownlist/popup.downlist.js @@ -95,7 +95,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, { item.el.logic = { dynamic: true }; - item.el.height = self.constants.height; + item.el.height = item.el.height || self.constants.height; item.el.iconCls2 = self.constants.nextIcon; item.popup = { lgap: 1, @@ -175,7 +175,7 @@ BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, { if (BI.isNotEmptyArray(child.children)) { child.type = "bi.down_list_group_item"; child.iconCls2 = self.constants.nextIcon; - child.height = self.constants.height; + child.height = child.height || self.constants.height; self._createChildren(child); } });