Browse Source

Pull request #2494: 无JIRA任务 feature: 支持warningTitle

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

* commit 'f0a6a2448e19bdf237895528567aaabe091bb385':
  feature: 支持warningTitle
es6
guy 3 years ago
parent
commit
2a2339f892
  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)) { if (BI.isNull(n.title)) {
n.title = n.text; n.title = n.text;
} }
if (n.disabled) {
n.title = n.warningTitle || n.title;
}
var text = BI.createWidget(BI.extend({ var text = BI.createWidget(BI.extend({
cls: "tree-node-text", cls: "tree-node-text",
css: { css: {

Loading…
Cancel
Save