refactor(ProjectManage): 更新 AI剂量助手的 URL 地址

- 将 URL 地址从 '/yiligpt' 修改为 '/aiagent/assistant/78907182-cc42-4072-abae-86ef67c1ecd3/share'
-优化了 URL 参数的拼接方式,使用 URL 对象确保安全性
This commit is contained in:
陈昱达
2025-05-27 21:56:12 +08:00
parent 3267aa4860
commit d9e6baa80f

View File

@@ -331,7 +331,7 @@ const aiAssistantUrlWithToken = computed(() => {
// 使用 URL 对象安全拼接参数
const url = new URL( window.location.host + '/yiligpt');
const url = new URL( window.location.host + '/aiagent/assistant/78907182-cc42-4072-abae-86ef67c1ecd3/share');
url.searchParams.append('token', encodedToken);
url.searchParams.append('source', 'pc');
return url.toString();