{(operation.conditions || []).length}
@@ -2035,6 +2080,7 @@ const ParamOverrideEditorModal = ({ visible, value, onSave, onCancel }) => {
type='danger'
theme='borderless'
icon={}
+ aria-label={t('删除规则')}
onClick={() =>
removeOperation(selectedOperation.id)
}
@@ -2085,6 +2131,25 @@ const ParamOverrideEditorModal = ({ visible, value, onSave, onCancel }) => {
>
{MODE_DESCRIPTIONS[mode] || ''}
+
+
+ {t('规则描述(可选)')}
+
+
+ updateOperation(selectedOperation.id, {
+ description: nextValue || '',
+ })
+ }
+ maxLength={180}
+ showClear
+ />
+
+ {`${String(selectedOperation.description || '').length}/180`}
+
+
{meta.value ? (
mode === 'return_error' && returnErrorDraft ? (