Skip to content

Commit bfb5949

Browse files
Merge remote-tracking branch 'origin/v2' into v2
2 parents 0638f69 + 6ad6241 commit bfb5949

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

ui/src/views/knowledge/KnowledgeSetting.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
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>

0 commit comments

Comments
 (0)