Browse Source

无JIRA 整理代码

es6
zsmj 2 years ago
parent
commit
fac7bc4b2d
  1. 4
      src/case/button/treeitem/treeitem.js
  2. 1
      src/case/layer/pane.list.js

4
src/case/button/treeitem/treeitem.js

@ -9,9 +9,6 @@ BI.BasicTreeItem = BI.inherit(BI.NodeButton, {
readonly: true, readonly: true,
isFirstNode: false, isFirstNode: false,
isLastNode: false, isLastNode: false,
switcherIcon: {},
selectable: true,
disabled: false, // disabled不会影响展开收起功能
}); });
}, },
@ -25,7 +22,6 @@ BI.BasicTreeItem = BI.inherit(BI.NodeButton, {
{ {
el: { el: {
type: "bi.layout", type: "bi.layout",
width: 24,
height: o.height, height: o.height,
width: o.height, width: o.height,
cls: this.getLineCls(), cls: this.getLineCls(),

1
src/case/layer/pane.list.js

@ -38,6 +38,7 @@ BI.ListPane = BI.inherit(BI.Pane, {
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE, chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
behaviors: {}, behaviors: {},
items: o.items, items: o.items,
value: o.value,
itemsCreator: function (op, calback) { itemsCreator: function (op, calback) {
if (op.times === 1) { if (op.times === 1) {
self.empty(); self.empty();

Loading…
Cancel
Save