feat(vnt-web): 新增 /api/version,顶栏版本号不再依赖组网状态

This commit is contained in:
lbl
2026-08-22 01:38:57 +08:00
parent 39a4e60d39
commit 0ccd045e78
6 changed files with 189 additions and 175 deletions
+3
View File
@@ -26,6 +26,9 @@ export const getRoutes = (fileName) =>
export const getStartStatus = (fileName) =>
request(`/api/start/status?file_name=${encodeURIComponent(fileName)}`);
// GET /api/version
export const getVersion = () => request("/api/version");
// GET /api/instances
export const getInstances = () => request("/api/instances");