Browse Source

优化mq消息重试

syhx
ljlong_2630 1 month ago
parent
commit
cc7e17bf06
  1. 2
      src/locales/en-US.ts
  2. 2
      src/locales/zh-CN.ts
  3. 4
      src/views/infra/apiMqError/index.vue

2
src/locales/en-US.ts

@ -77,6 +77,8 @@ export default {
confirmAccept: 'Confirm Accept',
confirmGiveup: 'Confirm Giveup',
confirmPublish: 'Confirm Publish',
retrySuccess: 'Retry successfully',
retryFinish: 'Retry Finished',
},
error: {
noPermission: `Sorry, you don't have permission to access this page.`,

2
src/locales/zh-CN.ts

@ -49,6 +49,8 @@ export default {
delDataMessage: '是否删除数据?',
delNoData: '请选择需要删除的数据',
delSuccess: '删除成功',
retrySuccess: '重试成功',
retryFinish: '重试完成',
index: '序号',
status: '状态',
createTime: '创建时间',

4
src/views/infra/apiMqError/index.vue

@ -240,7 +240,11 @@ const searchFormClick = (searchData) => {
const handleRetry = (row) => {
ApiMqErrorApi.retry(row.id).then(res => {
if(res){
message.success(t('common.retrySuccess'))
}else{
message.success(t('common.retryFinish'))
}
getList()
})
}

Loading…
Cancel
Save