From 4124d5eb8ab38a44a422db7987b2e920a225a53a Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Sat, 21 Jun 2025 22:08:01 +0800 Subject: [PATCH] 完善生产各个状态多语言 --- src/components/Common/CommonTable/colorInfo.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Common/CommonTable/colorInfo.jsx b/src/components/Common/CommonTable/colorInfo.jsx index 4cf7f95..e55f6fa 100644 --- a/src/components/Common/CommonTable/colorInfo.jsx +++ b/src/components/Common/CommonTable/colorInfo.jsx @@ -5,7 +5,7 @@ import styles from "./index.less"; export default class ColorInfo extends PureComponent { colorContentItem = (item,language) => { - const title = item?.sName; + const title =language ==='sEnglish'? item?.sEnglishName : language === 'sBig5'? item?.sBig5Name: item?.sName; const info = Array.isArray(item?.sColor) ? item.sColor.filter(Boolean) : []; return ( <> -- libgit2 0.22.2