Commit 4f9cdc5634bafc808941457ff309438409089761
1 parent
5292838f
fix(table): rollback value on cancel editing, fixed:#2309
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Table/src/components/editable/EditableCell.vue
@@ -153,7 +153,7 @@ | @@ -153,7 +153,7 @@ | ||
153 | }); | 153 | }); |
154 | 154 | ||
155 | watchEffect(() => { | 155 | watchEffect(() => { |
156 | - defaultValueRef.value = props.value; | 156 | + // defaultValueRef.value = props.value; |
157 | currentValueRef.value = props.value; | 157 | currentValueRef.value = props.value; |
158 | }); | 158 | }); |
159 | 159 |