Skip to content

Commit a37a618

Browse files
fix: 修复部分样式问题
1 parent de630b4 commit a37a618

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,15 @@
8484
:on-change="(file: any, fileList: any) => uploadFile(file, fileList)"
8585
>
8686
<el-tooltip effect="dark" placement="top" popper-class="upload-tooltip-width">
87-
<template #content
88-
>上传文件:最多{{
89-
props.applicationDetails.file_upload_setting.maxFiles
90-
}}个,每个文件限制
91-
{{ props.applicationDetails.file_upload_setting.fileLimit }}MB<br />文件类型:{{
92-
getAcceptList().replace(/\./g, '').replace(/,/g, '、').toUpperCase()
93-
}}</template
94-
>
87+
<template #content>
88+
<div class="break-all pre-wrap">上传文件:最多{{
89+
props.applicationDetails.file_upload_setting.maxFiles
90+
}}个,每个文件限制
91+
{{ props.applicationDetails.file_upload_setting.fileLimit }}MB<br />文件类型:{{
92+
getAcceptList().replace(/\./g, '').replace(/,/g, '、').toUpperCase()
93+
}}
94+
</div>
95+
</template>
9596
<el-button text>
9697
<el-icon><Paperclip /></el-icon>
9798
</el-button>

ui/src/components/ai-chat/component/user-form/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
:key="dynamicsFormRefresh"
2121
v-model="form_data_context"
2222
:model="form_data_context"
23-
label-position="left"
23+
label-position="top"
2424
require-asterisk-position="right"
2525
:render_data="inputFieldList"
2626
ref="dynamicsFormRef"
@@ -29,7 +29,7 @@
2929
v-if="type === 'debug-ai-chat'"
3030
v-model="api_form_data_context"
3131
:model="api_form_data_context"
32-
label-position="left"
32+
label-position="top"
3333
require-asterisk-position="right"
3434
:render_data="apiInputFieldList"
3535
ref="dynamicsFormRef2"

ui/src/views/application/ApplicationSetting.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@
538538
</h4>
539539
</div>
540540
<div class="scrollbar-height">
541-
<AiChat :applicationDetails="applicationForm"></AiChat>
541+
<AiChat :applicationDetails="applicationForm" :type="'debug-ai-chat'"></AiChat>
542542
</div>
543543
</div>
544544
</el-col>

ui/src/workflow/common/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export const documentExtractNode = {
203203
config: {
204204
fields: [
205205
{
206-
label: '文件内容',
206+
label: '文档内容',
207207
value: 'content'
208208
}
209209
]

0 commit comments

Comments
 (0)