Selaa lähdekoodia

fix(table): rollback value on cancel editing, fixed:#2309

无木 2 vuotta sitten
vanhempi
commit
4f9cdc5634
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/components/Table/src/components/editable/EditableCell.vue

+ 1 - 1
src/components/Table/src/components/editable/EditableCell.vue

@@ -153,7 +153,7 @@
       });
 
       watchEffect(() => {
-        defaultValueRef.value = props.value;
+        // defaultValueRef.value = props.value;
         currentValueRef.value = props.value;
       });