From ace14545951d39ee1463394fe6f9a81617e55aae Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Sun, 21 Jul 2024 09:56:42 +0800 Subject: [PATCH] Revert "fix(Collapse): fix issue with data scope settings being ineffective" This reverts commit 8a4a262414aea13c34fb1439a741a07f04621aeb. --- packages/core/client/src/block-provider/hooks/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/client/src/block-provider/hooks/index.ts b/packages/core/client/src/block-provider/hooks/index.ts index e418596e27..b0a45a50f2 100644 --- a/packages/core/client/src/block-provider/hooks/index.ts +++ b/packages/core/client/src/block-provider/hooks/index.ts @@ -1239,18 +1239,18 @@ export const useAssociationFilterBlockProps = () => { }, }, { - // 由于选项字段不需要触发当前请求,所以当前请求更改为手动触发 + // 由于 选项字段不需要触发当前请求,所以当前请求更改为手动触发 manual: true, debounceWait: 300, }, )); useEffect(() => { - // 由于选项字段不需要触发当前请求,所以请求单独在关系字段的时候触发 + // 由于 选项字段不需要触发当前请求,所以请求单独在 关系字段的时候触发 if (!isOptionalField(collectionField)) { run(); } - }, [collectionField, labelKey, run, valueKey, field.componentProps?.params]); + }, [collectionField, labelKey, run, valueKey]); if (!collectionField) { return {};