mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(Collapse): issue with data scope being cleared (#6782)
This commit is contained in:
parent
6808620a3d
commit
4547b7dd96
@ -1451,6 +1451,7 @@ export const useAssociationFilterBlockProps = () => {
|
||||
run,
|
||||
valueKey,
|
||||
labelKey,
|
||||
dataScopeFilter: filter,
|
||||
};
|
||||
};
|
||||
async function doReset({
|
||||
|
@ -41,6 +41,7 @@ export const AssociationFilterItem = withDynamicSchemaProps(
|
||||
handleSearchInput: _handleSearchInput,
|
||||
params,
|
||||
run,
|
||||
dataScopeFilter,
|
||||
valueKey: _valueKey,
|
||||
labelKey: _labelKey,
|
||||
defaultCollapse,
|
||||
@ -94,7 +95,7 @@ export const AssociationFilterItem = withDynamicSchemaProps(
|
||||
if (searchVisible || filter) {
|
||||
run({
|
||||
...params?.[0],
|
||||
filter: undefined,
|
||||
filter: dataScopeFilter,
|
||||
});
|
||||
}
|
||||
setSearchVisible(!searchVisible);
|
||||
|
Loading…
x
Reference in New Issue
Block a user