From bbc2db424f7af86928d7887003581b7bce0a2025 Mon Sep 17 00:00:00 2001 From: Dunqing Date: Sun, 9 Apr 2023 18:21:58 +0800 Subject: [PATCH] fix: incorrect language after logout (#1679) --- packages/core/client/src/antd-config-provider/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/client/src/antd-config-provider/index.tsx b/packages/core/client/src/antd-config-provider/index.tsx index 6dd677766..307358a79 100644 --- a/packages/core/client/src/antd-config-provider/index.tsx +++ b/packages/core/client/src/antd-config-provider/index.tsx @@ -18,6 +18,9 @@ export function AntdConfigProvider(props) { const { data, loading } = useRequest( { url: 'app:getLang', + params: { + locale: api.auth.locale, + }, }, { onSuccess(data) {