Browse Source

Pull request #2315: 无JIRA任务 优化代码

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'b71da414ebb73cc55f0a4a0e5fa132fb637ef882':
  优化代码
es6
guy 3 years ago
parent
commit
5d2b88dec8
  1. 2
      src/case/ztree/0.treeview.js
  2. 6
      src/widget/numberinterval/numberinterval.js

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

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

6
src/widget/numberinterval/numberinterval.js

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

Loading…
Cancel
Save