Browse Source

refactor: setValue && getValue校验

master
windy 6 years ago
parent
commit
b0b8c85620
  1. 13
      demo/js/component/demo.treevaluechoosercombo.js
  2. 12
      dist/2.0/fineui.ie.js
  3. 12
      dist/2.0/fineui.js
  4. 12
      dist/bundle.ie.js
  5. 12
      dist/bundle.js
  6. 13
      dist/demo.js
  7. 43
      dist/fineui.css
  8. 12
      dist/fineui.ie.js
  9. 12
      dist/fineui.js
  10. 12
      dist/fineui_without_jquery_polyfill.js
  11. 12
      dist/widget.js
  12. 6
      src/component/treevaluechooser/abstract.treevaluechooser.list.js
  13. 2
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  14. 2
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  15. 2
      src/widget/multitree/multi.tree.list.combo.js

13
demo/js/component/demo.treevaluechoosercombo.js

@ -18,6 +18,19 @@ Demo.TreeValueChooser = BI.inherit(BI.Widget, {
callback(BI.deepClone(Demo.CONSTANTS.TREEITEMS));
}
});
widget.setValue({
"中国": {
"安徽省": {
"安庆市": {}
}
},
"newValue": {}
});
widget1.setValue([
["中国", "安徽省"],
["中国", "安徽省", "安庆市"],
["newValue"]
]);
return {
type: "bi.vertical",
items: [{

12
dist/2.0/fineui.ie.js vendored

@ -73196,7 +73196,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -84533,20 +84533,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -84792,7 +84792,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -84845,7 +84845,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

12
dist/2.0/fineui.js vendored

@ -73600,7 +73600,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -84937,20 +84937,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -85196,7 +85196,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -85249,7 +85249,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

12
dist/bundle.ie.js vendored

@ -73196,7 +73196,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -84533,20 +84533,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -84792,7 +84792,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -84845,7 +84845,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

12
dist/bundle.js vendored

@ -73600,7 +73600,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -84937,20 +84937,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -85196,7 +85196,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -85249,7 +85249,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

13
dist/demo.js vendored

@ -2713,6 +2713,19 @@ BI.shortcut("demo.center", Demo.Center);Demo.TreeValueChooser = BI.inherit(BI.Wi
callback(BI.deepClone(Demo.CONSTANTS.TREEITEMS));
}
});
widget.setValue({
"中国": {
"安徽省": {
"安庆市": {}
}
},
"newValue": {}
});
widget1.setValue([
["中国", "安徽省"],
["中国", "安徽省", "安庆市"],
["newValue"]
]);
return {
type: "bi.vertical",
items: [{

43
dist/fineui.css vendored

@ -2228,8 +2228,8 @@ textarea {
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/half_selected.png');
background: url('images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
@ -2274,8 +2274,8 @@ textarea {
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_part {
background: url('images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/half_selected.png');
background: url('images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_part_focus {
@ -3579,7 +3579,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
opacity: 0;
}
.bi-checkbox.disabled.active .checkbox-content {
border-color: #e8eaed;
border-color: #d0d4da;
}
.bi-checkbox.disabled.active .checkbox-content:after {
opacity: 1;
@ -3587,6 +3587,16 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
.bi-theme-dark .bi-checkbox .checkbox-content {
border-color: #9EA6B2;
}
.bi-theme-dark .bi-checkbox.active .checkbox-content,
.bi-theme-dark .bi-checkbox:active .checkbox-content {
border-color: #3685f2;
}
.bi-theme-dark .bi-checkbox.disabled .checkbox-content {
background-color: #606479;
}
.bi-theme-dark .bi-checkbox.disabled.active .checkbox-content {
border-color: #606479;
}
.bi-file {
opacity: 0;
filter: alpha(opacity=0);
@ -3765,6 +3775,21 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before,
opacity: 1;
filter: alpha(opacity=100);
}
.bi-list-display-tree .ztree li a,
.bi-list-display-tree .ztree li span {
cursor: default !important;
}
.bi-list-display-tree .ztree li a:hover {
text-decoration: none;
}
.bi-list-display-tree .ztree li a.curSelectedNode {
padding-top: 1px;
border: none;
background-color: inherit;
opacity: 1;
filter: alpha(opacity=100);
}
.ztree * {
padding: 0;
margin: 0;
@ -4548,8 +4573,8 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none;
}
.ztree li span.button.chk.checkbox_false_part {
background: url('resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/half_selected.png');
background: url('resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/2x/icon/check_box_normal.png');
background-size: contain;
_background: none;
}
@ -4594,8 +4619,8 @@ textarea::-webkit-scrollbar-thumb:hover {
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_part {
background: url('resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/half_selected.png');
background: url('resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png') no-repeat center center;
_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='resources?path=/com/fr/web/ui/images/1x/icon/check_box_normal.png');
_background: none;
}
.ztree.hack li span.button.chk.checkbox_false_part_focus {

12
dist/fineui.ie.js vendored

@ -73441,7 +73441,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -84778,20 +84778,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -85037,7 +85037,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -85090,7 +85090,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

12
dist/fineui.js vendored

@ -73845,7 +73845,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -85182,20 +85182,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -85441,7 +85441,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -85494,7 +85494,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

12
dist/fineui_without_jquery_polyfill.js vendored

@ -56236,7 +56236,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -67573,20 +67573,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -67832,7 +67832,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -67885,7 +67885,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

12
dist/widget.js vendored

@ -13240,7 +13240,7 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
BI.MultiTreeInsertCombo.EVENT_CONFIRM = "MultiTreeInsertCombo.EVENT_CONFIRM";
BI.shortcut("bi.multi_tree_insert_combo", BI.MultiTreeInsertCombo);/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/
@ -24577,20 +24577,20 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},
@ -24836,7 +24836,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},
@ -24889,7 +24889,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

6
src/component/treevaluechooser/abstract.treevaluechooser.list.js

@ -33,20 +33,20 @@ BI.AbstractListTreeValueChooser = BI.inherit(BI.AbstractTreeValueChooser, {
if(!BI.has(result, node.id)) {
createOneJson(node, node.parent && node.parent.id);
}
result[node.id].isLeaf = id === path.length - 1;
result[node.id].isLeaf !== true && (result[node.id].isLeaf = id === path.length - 1);
}
});
});
}
function createOneJson(node, pId, leaf) {
function createOneJson(node, pId) {
result[node.id] = {
id: node.id,
pId: pId,
text: node.text,
value: node.value,
open: true,
isLeaf: leaf
isLeaf: node.isLeaf
};
}
},

2
src/component/treevaluechooser/combo.listtreevaluechooser.js

@ -32,7 +32,7 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeListCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.ListTreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

2
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -32,7 +32,7 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
height: o.height
});
this.combo.on(BI.MultiTreeCombo.EVENT_CONFIRM, function () {
this.combo.on(BI.MultiTreeInsertCombo.EVENT_CONFIRM, function () {
self.fireEvent(BI.TreeValueChooserInsertCombo.EVENT_CONFIRM);
});
},

2
src/widget/multitree/multi.tree.list.combo.js

@ -1,5 +1,5 @@
/**
* 可以往当前选中节点下添加新值的下拉树
* 选中节点不影响父子节点状态的下拉树
* @class BI.MultiTreeListCombo
* @extends BI.Single
*/

Loading…
Cancel
Save