fix: input not update when set undefined

doc-form
tangjinzhou 2021-12-22 16:32:06 +08:00
parent e8d91fb2a9
commit 51bc530f50
1 changed files with 1 additions and 3 deletions

View File

@ -138,9 +138,7 @@ export default defineComponent({
watch(
() => props.value,
() => {
if (props.value !== undefined) {
stateValue.value = props.value;
}
stateValue.value = props.value;
},
);
watch(