- 统一 http.ts baseURL:get/post/download/upload 均走 resolveApiUrl - agentUtils 下沉至 lib/agent-utils,API 层移除对 components 的依赖 - 扩展 metricsApi/snmpApi/prometheusProxyApi/zabbixProxyApi - 扩展 pipelineApi/credentialApi 覆盖流水线与凭证场景 - 14 个组件/页面禁止直连 http,统一走 @/services/api
2 lines
116 B
TypeScript
2 lines
116 B
TypeScript
// 兼容旧路径,统一从 lib 导出 // Logan.Li
|
|
export { isOnline, timeAgo, asList } from '@/lib/agent-utils'; |