fix: incorrect language after logout (#1679)

This commit is contained in:
Dunqing 2023-04-09 18:21:58 +08:00 committed by GitHub
parent 2050eb5317
commit bbc2db424f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,9 @@ export function AntdConfigProvider(props) {
const { data, loading } = useRequest(
{
url: 'app:getLang',
params: {
locale: api.auth.locale,
},
},
{
onSuccess(data) {