|
@@ -583,9 +583,9 @@ export default function SettingsChannelAffinity(props) {
|
|
|
title: t('作用域'),
|
|
title: t('作用域'),
|
|
|
render: (_, record) => {
|
|
render: (_, record) => {
|
|
|
const tags = [];
|
|
const tags = [];
|
|
|
- if (record?.include_using_group) tags.push('分组');
|
|
|
|
|
- if (record?.include_model_name) tags.push('模型');
|
|
|
|
|
- if (record?.include_rule_name) tags.push('规则');
|
|
|
|
|
|
|
+ if (record?.include_using_group) tags.push(t('分组'));
|
|
|
|
|
+ if (record?.include_model_name) tags.push(t('模型'));
|
|
|
|
|
+ if (record?.include_rule_name) tags.push(t('规则'));
|
|
|
if (tags.length === 0) return '-';
|
|
if (tags.length === 0) return '-';
|
|
|
return tags.map((x) => (
|
|
return tags.map((x) => (
|
|
|
<Tag key={x} style={{ marginRight: 4 }}>
|
|
<Tag key={x} style={{ marginRight: 4 }}>
|