Skip to content

Commit 5e3e7d4

Browse files
authored
fix(Table): fixed treeNodeCol not update on columns change (#3400)
* fix(TimePicker): fixed only support hh:mm format * fix(TimePicker): disabled position only is start * fix(Upload): fixed vue error on uploadPastedFiles is false * docs: add readonly in api * fix(Table): fixed treeNodeCol not update on columns change
1 parent 913a944 commit 5e3e7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/table/hooks/useTreeData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function useTreeData(props: TdEnhancedTableProps, context: SetupC
9292
});
9393

9494
watch(
95-
() => [columns, props.tree?.treeNodeColumnIndex],
95+
() => [columns.value, props.tree?.treeNodeColumnIndex],
9696
() => {
9797
treeNodeCol.value = getTreeNodeColumnCol();
9898
},

0 commit comments

Comments
 (0)