Reviewed-on: daoyoucloud/tachycode#698 Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
7531ed6f74
commit
da8b4d0b45
@ -242,7 +242,10 @@ export const usePaginationVisible = () => {
|
||||
|
||||
export const useSetFilterScopeVisible = () => {
|
||||
const fieldSchema = useFieldSchema();
|
||||
return fieldSchema['x-component-props']?.useProps === '{{ useFilterBlockActionProps }}';
|
||||
return (
|
||||
fieldSchema['x-component-props']?.useProps === '{{ useFilterBlockActionProps }}' ||
|
||||
fieldSchema['x-use-component-props'] === 'useFilterBlockActionProps'
|
||||
);
|
||||
};
|
||||
|
||||
export const EditTitle = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user