diff --git a/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/blocks/UnusedRecordsBlockInitializer.tsx b/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/blocks/UnusedRecordsBlockInitializer.tsx index c33a8e502..17609a950 100644 --- a/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/blocks/UnusedRecordsBlockInitializer.tsx +++ b/packages/plugins/@hera/plugin-rental/src/client/schema-initializer/blocks/UnusedRecordsBlockInitializer.tsx @@ -4,11 +4,13 @@ import { SchemaInitializerItem, SchemaSettings, SchemaToolbar, + useRequest, useSchemaInitializer, useSchemaInitializerItem, } from '@nocobase/client'; import { useFieldSchema } from '@formily/react'; import { ToolOutlined } from '@ant-design/icons'; +import { Tag } from 'antd'; export class UnusedRecordsBlockHelper { constructor(private app: Application) {} @@ -28,7 +30,8 @@ export class UnusedRecordsBlockHelper { } export const UnusedRecordsBlock: React.FC = () => { - return