fix(项目设置): 报告修改提示问题

--bug=1037522 --user=宋昌昌 修改报告有效期的提示优化 https://www.tapd.cn/55049933/s/1481349
This commit is contained in:
song-cc-rock 2024-03-26 20:26:42 +08:00 committed by Craftsman
parent e041b29562
commit a60ffdbddd
3 changed files with 10 additions and 1 deletions

View File

@ -8,4 +8,6 @@ export default {
'project.permission.memberPermission': 'Member Permission',
'project.permission.member': 'Member',
'project.permission.userGroup': 'User Group',
'project.application.report.tips':
'Success. The new validity period applies to subsequent report links. The generated validity period does not take effect;',
};

View File

@ -8,4 +8,5 @@ export default {
'project.permission.memberPermission': '成员权限',
'project.permission.member': '成员',
'project.permission.userGroup': '用户组',
'project.application.report.tips': '操作成功, 新修改的有效期适用于后续生成的报告链接, 已生成的不会生效;',
};

View File

@ -782,7 +782,13 @@
},
suffix
);
Message.success(t('common.operationSuccess'));
if (type.includes('REPORT')) {
Message.success(t('project.application.report.tips'));
} else {
Message.success(t('common.operationSuccess'));
}
getMenuConfig(suffix);
} catch (e) {
// eslint-disable-next-line no-console