mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:55:50 +00:00
fix: incorrect language after logout (#1679)
This commit is contained in:
parent
2050eb5317
commit
bbc2db424f
@ -18,6 +18,9 @@ export function AntdConfigProvider(props) {
|
|||||||
const { data, loading } = useRequest(
|
const { data, loading } = useRequest(
|
||||||
{
|
{
|
||||||
url: 'app:getLang',
|
url: 'app:getLang',
|
||||||
|
params: {
|
||||||
|
locale: api.auth.locale,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
onSuccess(data) {
|
onSuccess(data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user