fixed: ts error
This commit is contained in:
parent
07d3bb2bb9
commit
1e3f8dc3c6
@ -44,7 +44,7 @@ const AppRouter = () => {
|
|||||||
}, [i18n])
|
}, [i18n])
|
||||||
|
|
||||||
return (<ConfigProvider
|
return (<ConfigProvider
|
||||||
locale={i18n == 'zh-CN' ? zhCN : undefined}
|
locale={i18n?.language?.toString() == 'zh-CN' ? zhCN : undefined}
|
||||||
theme={{
|
theme={{
|
||||||
token: {
|
token: {
|
||||||
borderRadius: 4,
|
borderRadius: 4,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user