Browse Source

feature: 支持warningTitle

es6
guy 3 years ago
parent
commit
f0a6a2448e
  1. 3
      src/case/ztree/0.treeview.js

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

@ -357,6 +357,9 @@ BI.TreeView = BI.inherit(BI.Pane, {
if (BI.isNull(n.title)) {
n.title = n.text;
}
if (n.disabled) {
n.title = n.warningTitle || n.title;
}
var text = BI.createWidget(BI.extend({
cls: "tree-node-text",
css: {

Loading…
Cancel
Save