diff --git a/packages/plugins/@nocobase/plugin-client/src/client/index.ts b/packages/plugins/@nocobase/plugin-client/src/client/index.ts index 941240cf36..cbedd2f37a 100644 --- a/packages/plugins/@nocobase/plugin-client/src/client/index.ts +++ b/packages/plugins/@nocobase/plugin-client/src/client/index.ts @@ -7,8 +7,7 @@ * For more information, please refer to: https://www.nocobase.com/agreement. */ -import { Plugin, useACLRoleContext } from '@nocobase/client'; -import ignore from 'ignore'; +import { Plugin } from '@nocobase/client'; import { DesktopRoutesManager } from './DesktopRoutesManager'; import { lang as t } from './locale'; import { MobileRoutesManager } from './MobileRoutesManager'; diff --git a/packages/plugins/@nocobase/plugin-client/src/client/routesTableSchema.tsx b/packages/plugins/@nocobase/plugin-client/src/client/routesTableSchema.tsx index f3b71bb6b2..7b95eec4d2 100644 --- a/packages/plugins/@nocobase/plugin-client/src/client/routesTableSchema.tsx +++ b/packages/plugins/@nocobase/plugin-client/src/client/routesTableSchema.tsx @@ -861,7 +861,7 @@ export const createRoutesTableSchema = (collectionName: string, basename: string if (form.values.type === NocoBaseDesktopRouteType.tabs) { const { tabSchemaUid, tabSchemaName } = await createTabRouteSchema({ ...form.values, - parentSchemaUid: recordData.pageSchemaUid, + parentSchemaUid: recordData.schemaUid, }); await createRoute({