From ee387ca535f772d3c40caa41d8d228697057e647 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 2 Jul 2020 15:49:09 +0800 Subject: [PATCH] =?UTF-8?q?BI-61057=20refactor:=20=E4=B8=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8td=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/multilayerselecttree/node/node.first.plus.js | 4 ++-- src/widget/multilayerselecttree/node/node.last.plus.js | 4 ++-- src/widget/multilayerselecttree/node/node.mid.plus.js | 4 ++-- src/widget/multilayerselecttree/node/node.plus.js | 4 ++-- src/widget/multilayersingletree/node/node.first.plus.js | 4 ++-- src/widget/multilayersingletree/node/node.last.plus.js | 4 ++-- src/widget/multilayersingletree/node/node.mid.plus.js | 4 ++-- src/widget/multilayersingletree/node/node.plus.js | 4 ++-- .../multilayersingletree/treeitem/item.first.treeleaf.js | 4 ++-- .../multilayersingletree/treeitem/item.last.treeleaf.js | 4 ++-- src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/widget/multilayerselecttree/node/node.first.plus.js b/src/widget/multilayerselecttree/node/node.first.plus.js index ab5e47e337..e7cec6bd71 100644 --- a/src/widget/multilayerselecttree/node/node.first.plus.js +++ b/src/widget/multilayerselecttree/node/node.first.plus.js @@ -63,10 +63,10 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayerselecttree/node/node.last.plus.js b/src/widget/multilayerselecttree/node/node.last.plus.js index 1e286399b9..facef20346 100644 --- a/src/widget/multilayerselecttree/node/node.last.plus.js +++ b/src/widget/multilayerselecttree/node/node.last.plus.js @@ -63,10 +63,10 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayerselecttree/node/node.mid.plus.js b/src/widget/multilayerselecttree/node/node.mid.plus.js index a7ed224314..b2e94a22a3 100644 --- a/src/widget/multilayerselecttree/node/node.mid.plus.js +++ b/src/widget/multilayerselecttree/node/node.mid.plus.js @@ -63,10 +63,10 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayerselecttree/node/node.plus.js b/src/widget/multilayerselecttree/node/node.plus.js index bbc34ea5f9..8db2c31d57 100644 --- a/src/widget/multilayerselecttree/node/node.plus.js +++ b/src/widget/multilayerselecttree/node/node.plus.js @@ -63,10 +63,10 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayersingletree/node/node.first.plus.js b/src/widget/multilayersingletree/node/node.first.plus.js index f72f49ed2a..ee9b547751 100644 --- a/src/widget/multilayersingletree/node/node.first.plus.js +++ b/src/widget/multilayersingletree/node/node.first.plus.js @@ -42,10 +42,10 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayersingletree/node/node.last.plus.js b/src/widget/multilayersingletree/node/node.last.plus.js index 02a8a26e08..f7a8e6b209 100644 --- a/src/widget/multilayersingletree/node/node.last.plus.js +++ b/src/widget/multilayersingletree/node/node.last.plus.js @@ -42,10 +42,10 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayersingletree/node/node.mid.plus.js b/src/widget/multilayersingletree/node/node.mid.plus.js index 64612ca048..340305db46 100644 --- a/src/widget/multilayersingletree/node/node.mid.plus.js +++ b/src/widget/multilayersingletree/node/node.mid.plus.js @@ -42,10 +42,10 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayersingletree/node/node.plus.js b/src/widget/multilayersingletree/node/node.plus.js index b2fbd37e61..bcff497376 100644 --- a/src/widget/multilayersingletree/node/node.plus.js +++ b/src/widget/multilayersingletree/node/node.plus.js @@ -40,10 +40,10 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, { }); items.push(this.node); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js b/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js index 3537b4f34d..39f3f65e20 100644 --- a/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js +++ b/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js @@ -63,10 +63,10 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, { }); items.push(this.item); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js b/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js index 5a66b762c6..0dc5390d27 100644 --- a/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js +++ b/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js @@ -62,10 +62,10 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, { }); items.push(this.item); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); }, diff --git a/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js b/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js index 86372cda49..97bea42dd5 100644 --- a/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js +++ b/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js @@ -62,10 +62,10 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, { }); items.push(this.item); BI.createWidget({ - type: "bi.td", + type: "bi.horizontal_adapt", element: this, columnSize: BI.makeArray(o.layer, 12), - items: [items] + items: items }); },