Browse Source

fix: useForm trigger watchEffect, close #4932

pull/4940/head
tangjinzhou 3 years ago
parent
commit
61bf98e641
  1. 2
      components/form/useForm.ts

2
components/form/useForm.ts

@ -328,7 +328,7 @@ function useForm(
});
validate(names, { trigger: 'change' });
isFirstTime = false;
oldModel = cloneDeep(model);
oldModel = cloneDeep(toRaw(model));
};
const debounceOptions = options?.debounce;

Loading…
Cancel
Save