From 577174764be1a906c9a90468069cbb456a7e47b8 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 2 Jul 2020 17:16:42 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"BI-61057=20refactor:=20=E4=B8=8D?= =?UTF-8?q?=E4=BD=BF=E7=94=A8td=E4=BA=86"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ee387ca535f772d3c40caa41d8d228697057e647. --- 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 e7cec6bd7..ab5e47e33 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.horizontal_adapt", + type: "bi.td", 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 facef2034..1e286399b 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.horizontal_adapt", + type: "bi.td", 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 b2e94a22a..a7ed22431 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.horizontal_adapt", + type: "bi.td", 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 8db2c31d5..bbc34ea5f 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.horizontal_adapt", + type: "bi.td", 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 ee9b54775..f72f49ed2 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.horizontal_adapt", + type: "bi.td", 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 f7a8e6b20..02a8a26e0 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.horizontal_adapt", + type: "bi.td", 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 340305db4..64612ca04 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.horizontal_adapt", + type: "bi.td", 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 bcff49737..b2fbd37e6 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.horizontal_adapt", + type: "bi.td", 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 39f3f65e2..3537b4f34 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.horizontal_adapt", + type: "bi.td", 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 0dc5390d2..5a66b762c 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.horizontal_adapt", + type: "bi.td", 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 97bea42dd..86372cda4 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.horizontal_adapt", + type: "bi.td", element: this, columnSize: BI.makeArray(o.layer, 12), - items: items + items: [items] }); },