Skip to content

Commit 6f38d54

Browse files
committed
fix: unmapped node always
1 parent 5b465cf commit 6f38d54

File tree

1 file changed

+8
-4
lines changed
  • packages/components-vue/src/components/table

1 file changed

+8
-4
lines changed

packages/components-vue/src/components/table/Body.vue

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
updateNode: (n: any) => meta.updateNode?.(n, nodes[index]),
5959
}),
6060
},
61-
node,
61+
node: nodes[index],
62+
mappedNode: node,
6263
readonly: isReadOnly,
6364
theme: theme || themeValues,
6465
modalProps: { theme: theme || themeValues, ...modalProps },
@@ -88,7 +89,8 @@
8889
<slot
8990
name="modifyActions"
9091
v-bind="{
91-
node,
92+
node: nodes[index],
93+
mappedNode: node,
9294
updateNodeAndRefresh,
9395
cloneNodeAndRefresh,
9496
deleteNodeAndRefresh,
@@ -168,7 +170,8 @@
168170
<slot
169171
name="modifyDropdownActions"
170172
v-bind="{
171-
node,
173+
node: nodes[index],
174+
mappedNode: node,
172175
updateNodeAndRefresh,
173176
cloneNodeAndRefresh,
174177
deleteNodeAndRefresh,
@@ -196,7 +199,8 @@
196199
>
197200
<slot
198201
v-bind="{
199-
node,
202+
node: nodes[index],
203+
mappedNode: node,
200204
updateNodeAndRefresh,
201205
cloneNodeAndRefresh,
202206
deleteNodeAndRefresh,

0 commit comments

Comments
 (0)