Skip to content

Commit

Permalink
[cascader]选项disabled修改后,选项不是禁用状态#2859 (#2872)
Browse files Browse the repository at this point in the history
* [cascader]选项disabled修改后,选项不是禁用状态#2859

* chore: fix lint

---------

Co-authored-by: wū yāng <uyarnchen@gmail.com>
  • Loading branch information
lxc-orange and uyarn authored Oct 30, 2023
1 parent 21244bf commit 14094a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascader/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const useCascaderContext = (props: TdCascaderProps) => {
updateExpend();
updatedTreeNodes();
},
{ immediate: true },
{ immediate: true, deep: true },
);

// tree插件配置变化
Expand Down

0 comments on commit 14094a0

Please sign in to comment.