mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:47:10 +00:00
fix: demo bug (#4348)
This commit is contained in:
parent
c0e1260189
commit
3e49ffb204
@ -110,11 +110,11 @@ const mocks = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
[`${collection}:get/1`]: {
|
[`${collection}:get?filter[id]=1`]: {
|
||||||
id: 1,
|
id: 1,
|
||||||
username: 'Tom',
|
username: 'Tom',
|
||||||
},
|
},
|
||||||
[`${collection}:get/2`]: {
|
[`${collection}:get?filter[id]=2`]: {
|
||||||
id: 1,
|
id: 1,
|
||||||
username: 'Jack',
|
username: 'Jack',
|
||||||
},
|
},
|
||||||
|
@ -17,7 +17,7 @@ import { Options, SignInForm, SignUpForm } from './basic';
|
|||||||
import { NAMESPACE } from './locale';
|
import { NAMESPACE } from './locale';
|
||||||
import { AuthLayout, SignInPage, SignUpPage } from './pages';
|
import { AuthLayout, SignInPage, SignUpPage } from './pages';
|
||||||
import { Authenticator } from './settings/Authenticator';
|
import { Authenticator } from './settings/Authenticator';
|
||||||
export { AuthenticatorsContextProvider } from './pages/AuthLayout';
|
export { AuthenticatorsContextProvider, AuthLayout } from './pages/AuthLayout';
|
||||||
|
|
||||||
export type AuthOptions = {
|
export type AuthOptions = {
|
||||||
components: Partial<{
|
components: Partial<{
|
||||||
|
Loading…
Reference in New Issue
Block a user