中英文切换 初始化

This commit is contained in:
mmc
2026-08-12 11:29:44 +08:00
parent 541e16f742
commit a8af55a856
76 changed files with 5847 additions and 1962 deletions

View File

@@ -1,5 +1,7 @@
import React from 'react';
import { Empty } from 'antd';
import { useTranslation } from 'react-i18next';
import { t } from 'i18next';
interface EmptyDataProps {
/** 自定义文案 */
@@ -9,7 +11,7 @@ interface EmptyDataProps {
}
const EmptyData: React.FC<EmptyDataProps> = ({
description = '暂无数据',
description = t('common.noData'),
height = 220
}) => {
return (