plain-design 1.0.0-beta.113 → 1.0.0-beta.114
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -113,7 +113,7 @@ export function createTreeNode(
|
|
113
113
|
return !props.isLeaf ? !childrenData() : props.isLeaf(data);
|
114
114
|
};
|
115
115
|
/*叶子节点的图标*/
|
116
|
-
const leafIcon = () => {return typeof props.leafIcon === "string" ? props.leafIcon : props.leafIcon(
|
116
|
+
const leafIcon = () => {return typeof props.leafIcon === "string" ? props.leafIcon : props.leafIcon(self);};
|
117
117
|
/*是否已经选中*/
|
118
118
|
const checkStatus = (): typeof CheckboxStatus.TYPE => getCheckStatus()[key];
|
119
119
|
/*是否可选中*/
|