Browse Source

优化代码

es6
guy 3 years ago
parent
commit
46d15297e6
  1. 2
      src/case/ztree/0.treeview.js
  2. 4
      src/widget/numberinterval/numberinterval.js

2
src/case/ztree/0.treeview.js

@ -55,7 +55,7 @@ BI.TreeView = BI.inherit(BI.Pane, {
}); });
BI.createWidget({ BI.createWidget({
type: "bi.default", type: "bi.default",
element: this.element, element: this,
items: [this.tree] items: [this.tree]
}); });
}, },

4
src/widget/numberinterval/numberinterval.js

@ -66,7 +66,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: this.smallEditor.element, element: this.smallEditor,
items: [{ items: [{
el: this.smallTip, el: this.smallTip,
top: 0, top: 0,
@ -104,7 +104,7 @@ BI.NumberInterval = BI.inherit(BI.Single, {
}); });
BI.createWidget({ BI.createWidget({
type: "bi.absolute", type: "bi.absolute",
element: this.bigEditor.element, element: this.bigEditor,
items: [{ items: [{
el: this.bigTip, el: this.bigTip,
top: 0, top: 0,

Loading…
Cancel
Save