diff --git a/src/cascader/core/effect.ts b/src/cascader/core/effect.ts index 497d5868f..dd329d9c9 100644 --- a/src/cascader/core/effect.ts +++ b/src/cascader/core/effect.ts @@ -27,7 +27,7 @@ export function expendClickEffect( if (isDisabled) return; // 点击展开节点,设置展开状态 - if (propsTrigger === trigger && !node.isLeaf()) { + if (propsTrigger === trigger) { const expanded = node.setExpanded(true); treeStore.refreshNodes(); treeStore.replaceExpanded(expanded);