mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: correct parentSchemaUid reference in routesTableSchema (#6362)
This commit is contained in:
parent
0bce6fe1dc
commit
57af4c1787
@ -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';
|
||||
|
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user