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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plain-design",
3
- "version": "1.0.0-beta.113",
3
+ "version": "1.0.0-beta.114",
4
4
  "description": "",
5
5
  "main": "dist/plain-design.min.js",
6
6
  "module": "dist/plain-design.commonjs.min.js",
@@ -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(data);};
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
  /*是否可选中*/