This commit is contained in:
guochunsi
2026-01-06 19:23:18 +08:00
parent 8af3aaa9b6
commit e1cb334fbf
33 changed files with 685 additions and 329 deletions

View File

@@ -229,7 +229,7 @@ const openDialog = async (row?: any) => {
return
}
} catch (error) {
message.error('操作失败')
// 错误处理已在数据请求层统一处理,此处不需要提示
return
}
}
@@ -306,7 +306,7 @@ const dialogSubmit = async () => {
dialogVisible.value = false
emit('refreshData')
} catch (error: any) {
message.error(error?.msg || '操作失败')
// 错误处理已在数据请求层统一处理,此处不需要提示
} finally {
submitLoading.value = false
}