refactor(消息管理): 优化关闭邮件机器人时的文案

This commit is contained in:
guoyuqi 2024-02-07 16:36:02 +08:00 committed by Craftsman
parent 270c3fdfd5
commit fa5aa54071
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@
innerHTML: `<div>${t( innerHTML: `<div>${t(
robot.enable ? 'project.messageManagement.disableContent' : 'project.messageManagement.enableContent', robot.enable ? 'project.messageManagement.disableContent' : 'project.messageManagement.enableContent',
{ robot: robot.name } { robot: robot.name }
)}</div><div>${robot.platform === 'MAIL' ? t('project.messageManagement.enableEmailContentTip') : ''}</div>`, )}</div><div>${robot.platform === 'MAIL' && !robot.enable ? t('project.messageManagement.enableEmailContentTip') : ''}</div>`,
}), }),
okText: t(robot.enable ? 'project.messageManagement.disableConfirm' : 'project.messageManagement.enableConfirm', { okText: t(robot.enable ? 'project.messageManagement.disableConfirm' : 'project.messageManagement.enableConfirm', {
robot: robot.name, robot: robot.name,