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,
isFirstNode: false,
isLastNode: false,
switcherIcon: {},
selectable: true,
disabled: false, // disabled不会影响展开收起功能
});
},
@ -25,7 +22,6 @@ BI.BasicTreeItem = BI.inherit(BI.NodeButton, {
{
el: {
type: "bi.layout",
width: 24,
height: o.height,
width: o.height,
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,
behaviors: {},
items: o.items,
value: o.value,
itemsCreator: function (op, calback) {
if (op.times === 1) {
self.empty();

Loading…
Cancel
Save