feat: K8s集群拓扑图接入真实后端数据 — 分层可视化Cluster→Ingress→Service→Deployment→Node + http.ts类型修复

This commit is contained in:
attacker committed 2026-06-14 20:12:42 +08:00
1 parent 4b094f4645
commit 9f65faff6f
17 files changed
+3021 -1205

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ async function request<T = any>(
throw new Error(json.message || '请求失败');
}
return json.data;
// Return json.data for standard responses, or full json for non-standard ones
return (json.data !== undefined ? json.data : json) as T;
}
// 导出便捷方法