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 ab5e47e33..e7cec6bd7 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 1e286399b..facef2034 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 a7ed22431..b2e94a22a 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 bbc34ea5f..8db2c31d5 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 f72f49ed2..ee9b54775 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 02a8a26e0..f7a8e6b20 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 64612ca04..340305db4 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 b2fbd37e6..bcff49737 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 3537b4f34..39f3f65e2 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 5a66b762c..0dc5390d2 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 86372cda4..97bea42dd 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 }); },