File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
components/ai-chat/component/chat-input-operate Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1239,7 +1239,7 @@ async function saveUrl() {
12391239 async function processUrl(url : string ) {
12401240 try {
12411241 const appId = props .appId || props .applicationDetails ?.id ;
1242- const res = await imageApi .getFile (appId , {url });
1242+ const res = await imageApi .getFile (appId , {url })
12431243 if (res .data [' status_code' ] !== 200 ) {
12441244 MsgWarning (url + ' ' + t (' chat.uploadFile.invalidUrl' ));
12451245 return ;
@@ -1305,7 +1305,7 @@ async function saveUrl() {
13051305 }
13061306 } catch (e ) {
13071307 console .error (e );
1308- MsgWarning ( ` ${ url } 无法访问 ` );
1308+ return
13091309 }
13101310 }
13111311
Original file line number Diff line number Diff line change 8282 >
8383 <div class =" flex align-center" >
8484 <el-avatar class =" avatar-purple mt-4" shape =" square" :size =" 32" >
85- <img src =" @/assets/knowledge/logo_workflow.svg" style =" width : 600 % " alt =" " />
85+ <img src =" @/assets/knowledge/logo_workflow.svg" style =" width : 60 % " alt =" " />
8686 </el-avatar >
8787 <div >
8888 <p >
You can’t perform that action at this time.
0 commit comments