Browse Source

Pull request #1377: Master

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '3d88b3ff2b76be483ae6fc0364a8c3e8714404e3':
  update
  无JIRA任务 支持setTipType
  Revert "BI-61057 refactor: 不使用td了"
es6
windy 5 years ago
parent
commit
66c8edd4ec
  1. 4
      src/base/single/single.js
  2. 4
      src/case/button/node/node.multilayer.icon.arrow.js
  3. 4
      src/case/button/treeitem/item.multilayer.icon.treeleaf.js

4
src/base/single/single.js

@ -162,6 +162,10 @@ BI.Single = BI.inherit(BI.Widget, {
}
},
setTipType: function (type) {
this.options.tipType = type;
},
getTipType: function () {
return this.options.tipType;
},

4
src/case/button/node/node.multilayer.icon.arrow.js

@ -46,10 +46,10 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
});
items.push(this.node);
BI.createWidget({
type: "bi.td",
type: "bi.horizontal_adapt",
element: this,
columnSize: BI.makeArray(o.layer, 15),
items: [items]
items: items
});
},

4
src/case/button/treeitem/item.multilayer.icon.treeleaf.js

@ -48,10 +48,10 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
});
items.push(this.item);
BI.createWidget({
type: "bi.td",
type: "bi.horizontal_adapt",
element: this,
columnSize: BI.makeArray(o.layer, 15),
items: [items]
items: items
});
},

Loading…
Cancel
Save