Explorar el Código

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

无木 hace 2 años
padre
commit
4f9cdc5634
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
       });