diff --git a/packages/core/client/docs/zh-CN/core/data-block/demos/data-block-provider/association-table-list-and-source-id.tsx b/packages/core/client/docs/zh-CN/core/data-block/demos/data-block-provider/association-table-list-and-source-id.tsx index a7594c7b5a..0552d783ae 100644 --- a/packages/core/client/docs/zh-CN/core/data-block/demos/data-block-provider/association-table-list-and-source-id.tsx +++ b/packages/core/client/docs/zh-CN/core/data-block/demos/data-block-provider/association-table-list-and-source-id.tsx @@ -110,11 +110,11 @@ const mocks = { }, ], }, - [`${collection}:get/1`]: { + [`${collection}:get?filter[id]=1`]: { id: 1, username: 'Tom', }, - [`${collection}:get/2`]: { + [`${collection}:get?filter[id]=2`]: { id: 1, username: 'Jack', }, diff --git a/packages/plugins/@nocobase/plugin-auth/src/client/index.tsx b/packages/plugins/@nocobase/plugin-auth/src/client/index.tsx index fffdebd1c2..0ad2f5285f 100644 --- a/packages/plugins/@nocobase/plugin-auth/src/client/index.tsx +++ b/packages/plugins/@nocobase/plugin-auth/src/client/index.tsx @@ -17,7 +17,7 @@ import { Options, SignInForm, SignUpForm } from './basic'; import { NAMESPACE } from './locale'; import { AuthLayout, SignInPage, SignUpPage } from './pages'; import { Authenticator } from './settings/Authenticator'; -export { AuthenticatorsContextProvider } from './pages/AuthLayout'; +export { AuthenticatorsContextProvider, AuthLayout } from './pages/AuthLayout'; export type AuthOptions = { components: Partial<{