Skip to content

Commit

Permalink
fix: cascader options watch (Tencent#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
PengYYYYY authored and sinbadmaster committed Jun 2, 2023
1 parent 532e107 commit 8893b88
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 @@ -154,7 +154,7 @@ export const useCascaderContext = (props: TdCascaderProps) => {
updateExpend();
updatedTreeNodes();
},
{ immediate: true },
{ immediate: true, deep: true },
);

// tree插件配置变化
Expand Down

0 comments on commit 8893b88

Please sign in to comment.