mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:35:20 +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(
|
||||
{
|
||||
url: 'app:getLang',
|
||||
params: {
|
||||
locale: api.auth.locale,
|
||||
},
|
||||
},
|
||||
{
|
||||
onSuccess(data) {
|
||||
|
Loading…
Reference in New Issue
Block a user