Browse Source

YT-1986:《外部接口记录》增加错误信息的显示

intex_online20250311
songguoqiang 1 month ago
parent
commit
ed2c6b6cc5
  1. 4
      src/views/infra/outerApiHis/index.vue

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

@ -234,16 +234,20 @@ const searchFormClick = (searchData) => {
// //
const handleRetry = (row) => { const handleRetry = (row) => {
tableObject.loading = true;
OuterApiHisApi.retry(row.id).then(res => { OuterApiHisApi.retry(row.id).then(res => {
if(res){ if(res){
message.success(t('common.retrySuccess')) message.success(t('common.retrySuccess'))
}else{ }else{
message.success(t('common.retryFinish')) message.success(t('common.retryFinish'))
} }
tableObject.loading = false;
getList() getList()
}).catch(() => { }).catch(() => {
tableObject.loading = false;
getList() getList()
}) })
} }
/** 初始化 **/ /** 初始化 **/
onMounted(async () => { onMounted(async () => {

Loading…
Cancel
Save