Skip to content

Commit aa793d1

Browse files
author
sunxiaoyu
committed
fix tree option style
1 parent 3f08427 commit aa793d1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "santd",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "san UI design",
55
"scripts": {
66
"start": "cross-env NODE_ENV=development node scripts/preview.js",

src/tree/tree.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ export default san.defineComponent({
205205
}
206206
return !disabled;
207207
});
208+
209+
halfCheckedKeys = halfCheckedKeys.filter(key => !checkedKeys.includes(key));
208210
}
209211
});
210212
return {

0 commit comments

Comments
 (0)