|
@ -100,7 +100,7 @@ const defaultValueHandler = (field) => { |
|
|
watch( |
|
|
watch( |
|
|
() => props.fields, |
|
|
() => props.fields, |
|
|
(newVal, oldVal) => { |
|
|
(newVal, oldVal) => { |
|
|
if (newVal) { |
|
|
if (newVal.length !== oldVal.length) { |
|
|
fields_ = ref([...props.fields]); |
|
|
fields_ = ref([...props.fields]); |
|
|
for (const field of fields_.value as any) { |
|
|
for (const field of fields_.value as any) { |
|
|
if (field.name) { |
|
|
if (field.name) { |
|
|