feat: ncc制造,树参照包含下级需求,checkStrictly 动态改变后,拿到组件内部属性 this.checkedKeys
This commit is contained in:
parent
31a8f155fe
commit
5335f5730e
|
@ -115,6 +115,10 @@ var Tree = function (_React$Component) {
|
||||||
prevProps: this.props
|
prevProps: this.props
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// ncc制造,树参照包含下级需求,checkStrictly 动态改变后,拿到组件内部属性 this.checkedKeys
|
||||||
|
if (this.props._getTreeObj) {
|
||||||
|
this.props._getTreeObj(this);
|
||||||
|
}
|
||||||
// 启用懒加载,计算树节点真实高度
|
// 启用懒加载,计算树节点真实高度
|
||||||
if (!lazyLoad) return;
|
if (!lazyLoad) return;
|
||||||
var treenodes = this.tree.querySelectorAll('.u-tree-treenode-close')[0];
|
var treenodes = this.tree.querySelectorAll('.u-tree-treenode-close')[0];
|
||||||
|
|
|
@ -34397,6 +34397,10 @@
|
||||||
prevProps: this.props
|
prevProps: this.props
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// ncc制造,树参照包含下级需求,checkStrictly 动态改变后,拿到组件内部属性 this.checkedKeys
|
||||||
|
if (this.props._getTreeObj) {
|
||||||
|
this.props._getTreeObj(this);
|
||||||
|
}
|
||||||
// 启用懒加载,计算树节点真实高度
|
// 启用懒加载,计算树节点真实高度
|
||||||
if (!lazyLoad) return;
|
if (!lazyLoad) return;
|
||||||
var treenodes = this.tree.querySelectorAll('.u-tree-treenode-close')[0];
|
var treenodes = this.tree.querySelectorAll('.u-tree-treenode-close')[0];
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -66,6 +66,10 @@ class Tree extends React.Component {
|
||||||
prevProps: this.props
|
prevProps: this.props
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// ncc制造,树参照包含下级需求,checkStrictly 动态改变后,拿到组件内部属性 this.checkedKeys
|
||||||
|
if(this.props._getTreeObj){
|
||||||
|
this.props._getTreeObj(this);
|
||||||
|
}
|
||||||
// 启用懒加载,计算树节点真实高度
|
// 启用懒加载,计算树节点真实高度
|
||||||
if(!lazyLoad) return;
|
if(!lazyLoad) return;
|
||||||
const treenodes = this.tree.querySelectorAll('.u-tree-treenode-close')[0];
|
const treenodes = this.tree.querySelectorAll('.u-tree-treenode-close')[0];
|
||||||
|
|
Loading…
Reference in New Issue