mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:15:36 +00:00
Revert "fix(Collapse): fix issue with data scope settings being ineffective"
This reverts commit 8a4a262414
.
This commit is contained in:
parent
8a4a262414
commit
ace1454595
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user