Skip to content

Commit

Permalink
[cascader]选项disabled修改后,选项不是禁用状态Tencent#2859
Browse files Browse the repository at this point in the history
  • Loading branch information
lxc-orange committed Oct 24, 2023
1 parent 25d840c commit d900a7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cascader/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ export const useCascaderContext = (props: TdCascaderProps) => {
updateExpend();
updatedTreeNodes();
},
{ immediate: true },
{
immediate: true,
deep: true,
},
);

// tree插件配置变化
Expand Down

0 comments on commit d900a7f

Please sign in to comment.