Skip to content

Commit

Permalink
fix: issue wsfe#109
Browse files Browse the repository at this point in the history
  • Loading branch information
zl0110 committed Oct 11, 2024
1 parent daf9227 commit 51120b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/tree-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,7 @@ export default class TreeStore extends TreeEventTarget {
* @param node 需要勾选的节点
*/
private checkParentNode(node: TreeNode): void {
if(!this.options.cascade) return
const length = node.children.length
if (!length) return
let hasChecked = false
Expand Down

0 comments on commit 51120b5

Please sign in to comment.