fix: fixed issue with refresh agent page failed (#13035)

This commit is contained in:
CityFun authored and GitHub committed 2026-06-12 18:14:35 +08:00
1 parent a49b9b132d
commit a2eed66bc4
3 files changed
+27 -19

No files matched your search

@@ -434,5 +434,12 @@
"file": "lz4.so",
"versions": ["56","70", "71", "72", "73", "74", "80", "81", "82", "83","84","85"],
"installed": false
},
{
"name": "msgpack",
"check": "msgpack",
"file": "msgpack.so",
"versions": ["56","70", "71", "72", "73", "74", "80", "81", "82", "83","84","85"],
"installed": false
}
]
+18 -17
View File
@@ -57,23 +57,24 @@ var WebUrlMap = map[string]struct{}{
"/apps/upgrade": {},
"/apps/setting": {},
"/ai": {},
"/ai/ai-proxy": {},
"/ai/ai-proxy/model-pool": {},
"/ai/ai-proxy/api-keys": {},
"/ai/ai-proxy/groups": {},
"/ai/ai-proxy/usage": {},
"/ai/ai-proxy/content": {},
"/ai/skills-hub": {},
"/ai/skills-hub/targets": {},
"/ai/benchmark": {},
"/ai/model/account": {},
"/ai/model/local": {},
"/ai/gpu": {},
"/ai/gpu/current": {},
"/ai/gpu/history": {},
"/ai/mcp": {},
"/ai/agents/agent": {},
"/ai": {},
"/ai/ai-proxy": {},
"/ai/ai-proxy/model-pool": {},
"/ai/ai-proxy/api-keys": {},
"/ai/ai-proxy/groups": {},
"/ai/ai-proxy/model-groups": {},
"/ai/ai-proxy/usage": {},
"/ai/ai-proxy/content": {},
"/ai/skills-hub": {},
"/ai/skills-hub/targets": {},
"/ai/benchmark": {},
"/ai/model/account": {},
"/ai/model/local": {},
"/ai/gpu": {},
"/ai/gpu/current": {},
"/ai/gpu/history": {},
"/ai/mcp": {},
"/ai/agents/agent": {},
"/containers": {},
"/containers/container/operate": {},
+2 -2
View File
@@ -455,9 +455,9 @@ const openCreateFromQuery = async () => {
await router.replace({ path: route.path, query: nextQuery });
};
const openTaskLog = (taskID: string) => {
const openTaskLog = (taskID: string, operateNode?: string) => {
if (taskLogRef.value?.openWithTaskID) {
taskLogRef.value.openWithTaskID(taskID);
taskLogRef.value.openWithTaskID(taskID, undefined, operateNode);
}
};