From e05ab401650433cc7e767e08b482fb7a00be7bbd Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期三, 18 六月 2025 19:16:19 +0800 Subject: [PATCH] refactor(aiQuestions): 修复智能体流式回复解析问题 --- common/iframe.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/iframe.js b/common/iframe.js index 1f1d8a9..7fabd4e 100644 --- a/common/iframe.js +++ b/common/iframe.js @@ -11,7 +11,7 @@ newDiv.style.backgroundSize= '100% 100%' newDiv.style.cursor= 'pointer' var firstChild = document.body.firstChild; - const url = `http://61.168.99.48:8055/ly_app?userId=`+ userId + '&knowId=' + knowId + const url = `http://61.168.99.48:8055/ly_app/?userId=`+ userId + '&knowId=' + knowId var iframe = '' document.body.insertBefore(newDiv, firstChild); newDiv.addEventListener('click', ()=> { @@ -20,7 +20,7 @@ iframe = '' } else { iframe = document.createElement("iframe"); - iframe.src = url || window.location.origin + '/ly_app?userId=' + userId + '&knowId=' + knowId; + iframe.src = url || window.location.origin + '/ly_app/?userId=' + userId + '&knowId=' + knowId; iframe.style.width="430px" iframe.style.height="90%" iframe.style.position = 'fixed' -- Gitblit v1.9.1