fix: useForm trigger watchEffect, close #4932

pull/4940/head
tangjinzhou 2021-11-27 15:17:22 +08:00
parent 0ae5d7a324
commit 61bf98e641
1 changed files with 1 additions and 1 deletions

View File

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