chore: use unplugin i18n

This commit is contained in:
xingyu
2022-12-19 15:28:59 +08:00
parent 46c93b637f
commit 5434be460c
4 changed files with 73 additions and 46 deletions

View File

@ -95,9 +95,8 @@ const handleProcessClick = (
message
.confirm('确认标记为' + type + '?', t('common.reminder'))
.then(async () => {
ApiErrorLogApi.updateApiErrorLogPageApi(row.id, processSttatus).then(() => {
message.success(t('common.updateSuccess'))
})
await ApiErrorLogApi.updateApiErrorLogPageApi(row.id, processSttatus)
message.success(t('common.updateSuccess'))
})
.finally(async () => {
// 刷新列表