This commit is contained in:
Cold
2026-01-26 14:43:47 +08:00
34 changed files with 3382 additions and 179 deletions

View File

@@ -173,7 +173,7 @@ const getList = async () => {
}
} catch (error) {
console.error('获取客服账号列表失败:', error);
ElMessage.error('获取数据失败');
// 错误已由请求拦截器统一处理
tableData.data = [];
tableData.total = 0;
} finally {
@@ -267,7 +267,7 @@ const handleStatusChange = async (row: TableDataItem) => {
return;
}
console.error('状态切换失败:', error);
ElMessage.error('状态切换失败');
// 错误已由请求拦截器统一处理
} finally {
setTimeout(() => {
row.statusLoading = false;