@sheinx/hooks 3.6.5-beta.7 → 3.6.5-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -611,7 +611,7 @@ var useForm = function useForm(props) {
|
|
611
611
|
context.removeLock = false;
|
612
612
|
// 内部 onChange 改的 value, 不需要更新
|
613
613
|
if (props.value === context.value) {
|
614
|
-
if (!isControl) update();
|
614
|
+
// if (!isControl) update();
|
615
615
|
return;
|
616
616
|
}
|
617
617
|
if (initValidate && !context.resetTime) {
|
@@ -602,7 +602,7 @@ var useForm = function useForm(props) {
|
|
602
602
|
context.removeLock = false;
|
603
603
|
// 内部 onChange 改的 value, 不需要更新
|
604
604
|
if (props.value === context.value) {
|
605
|
-
if (!isControl) update();
|
605
|
+
// if (!isControl) update();
|
606
606
|
return;
|
607
607
|
}
|
608
608
|
if (initValidate && !context.resetTime) {
|