diff --git a/projects/app/src/components/core/dataset/SearchParamsTip.tsx b/projects/app/src/components/core/dataset/SearchParamsTip.tsx
index 66522854d7a..66adb042bfc 100644
--- a/projects/app/src/components/core/dataset/SearchParamsTip.tsx
+++ b/projects/app/src/components/core/dataset/SearchParamsTip.tsx
@@ -68,7 +68,7 @@ const SearchParamsTip = ({
w={'12px'}
mr={'1px'}
/>
- {t(DatasetSearchModeMap[searchMode]?.title)}
+ {t(DatasetSearchModeMap[searchMode]?.title as any)}
diff --git a/projects/app/src/components/support/apikey/Table.tsx b/projects/app/src/components/support/apikey/Table.tsx
index 6bf77a508be..e5ae6545c97 100644
--- a/projects/app/src/components/support/apikey/Table.tsx
+++ b/projects/app/src/components/support/apikey/Table.tsx
@@ -343,7 +343,7 @@ function EditKeyModal({
placeholder={publishT('key alias') || 'key alias'}
maxLength={20}
{...register('name', {
- required: t('common:common.Name is empty') || 'Name is empty'
+ required: t('common:common.name_is_empty') || 'name_is_empty'
})}
/>
diff --git a/projects/app/src/components/support/permission/IconText/index.tsx b/projects/app/src/components/support/permission/IconText/index.tsx
index f1ef89d9c38..5a71d2345d1 100644
--- a/projects/app/src/components/support/permission/IconText/index.tsx
+++ b/projects/app/src/components/support/permission/IconText/index.tsx
@@ -34,7 +34,7 @@ const PermissionIconText = ({
return PermissionTypeMap[per] ? (
- {t(PermissionTypeMap[per]?.label)}
+ {t(PermissionTypeMap[per]?.label as any)}
) : null;
};
diff --git a/projects/app/src/components/support/permission/MemberManager/PermissionSelect.tsx b/projects/app/src/components/support/permission/MemberManager/PermissionSelect.tsx
index 3fe95e39947..11225466e0e 100644
--- a/projects/app/src/components/support/permission/MemberManager/PermissionSelect.tsx
+++ b/projects/app/src/components/support/permission/MemberManager/PermissionSelect.tsx
@@ -189,7 +189,7 @@ function PermissionSelect({
{item.name}
- {t(item.description)}
+ {t(item.description as any)}
diff --git a/projects/app/src/components/support/user/team/TeamManageModal/components/MemberTable.tsx b/projects/app/src/components/support/user/team/TeamManageModal/components/MemberTable.tsx
index 71d18400c1e..b5879d08cc3 100644
--- a/projects/app/src/components/support/user/team/TeamManageModal/components/MemberTable.tsx
+++ b/projects/app/src/components/support/user/team/TeamManageModal/components/MemberTable.tsx
@@ -68,7 +68,7 @@ function MemberTable() {
/>
|
- {t(TeamMemberStatusMap[item.status]?.label || '')}
+ {t(TeamMemberStatusMap[item.status]?.label || ('' as any))}
|
{userInfo?.team.permission.hasManagePer &&
diff --git a/projects/app/src/components/support/user/team/TeamTagModal/index.tsx b/projects/app/src/components/support/user/team/TeamTagModal/index.tsx
index 7c8c462748c..54eb7e3abf5 100644
--- a/projects/app/src/components/support/user/team/TeamTagModal/index.tsx
+++ b/projects/app/src/components/support/user/team/TeamTagModal/index.tsx
@@ -103,7 +103,7 @@ const TeamTagsAsync = ({ onClose }: { onClose: () => void }) => {
- {t('common:同步链接')}
+ {t('common:sync_link')}
void }) => {
- {t('common:分享链接')}
+ {t('common:share_link')}
{/* code */}
@@ -143,7 +143,7 @@ const TeamTagsAsync = ({ onClose }: { onClose: () => void }) => {
- {t('common:标签列表')}
+ {t('common:tag_list')}
{
[
{ label: t('common:common.All'), value: '' },
...Object.entries(billTypeMap).map(([key, value]) => ({
- label: t(value.label),
+ label: t(value.label as any),
value: key
}))
] as {
@@ -130,12 +130,12 @@ const BillTable = () => {
{bills.map((item, i) => (
{i + 1} |
- {t(billTypeMap[item.type]?.label)} |
+ {t(billTypeMap[item.type]?.label as any)} |
{item.createTime ? dayjs(item.createTime).format('YYYY/MM/DD HH:mm:ss') : '-'}
|
{formatStorePrice2Read(item.price)}元 |
- {t(billStatusMap[item.status]?.label)} |
+ {t(billStatusMap[item.status]?.label as any)} |
{item.status === 'NOTPAY' && (
| |