perf: optimizing hidden fields cannot trigger dependencies (#7142)

This commit is contained in:
ming4762
2026-01-26 16:12:26 +08:00
committed by GitHub
parent 6a9012e5e4
commit 528395e2c3

View File

@@ -82,10 +82,8 @@ export default function useDependencies(
// 2. 判断show如果show为false则隐藏
if (isFunction(show)) {
isShow.value = !!(await show(formValues, formApi));
if (!isShow.value) return;
} else if (isBoolean(show)) {
isShow.value = show;
if (!isShow.value) return;
}
if (isFunction(componentProps)) {