refactor(消息管理): 优化关闭邮件机器人时的文案
This commit is contained in:
parent
270c3fdfd5
commit
fa5aa54071
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue