Skip to content

Commit

Permalink
fix: 修复部分样式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Nov 26, 2024
1 parent de630b4 commit a37a618
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
17 changes: 9 additions & 8 deletions ui/src/components/ai-chat/component/chat-input-operate/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,15 @@
:on-change="(file: any, fileList: any) => uploadFile(file, fileList)"
>
<el-tooltip effect="dark" placement="top" popper-class="upload-tooltip-width">
<template #content
>上传文件:最多{{
props.applicationDetails.file_upload_setting.maxFiles
}}个,每个文件限制
{{ props.applicationDetails.file_upload_setting.fileLimit }}MB<br />文件类型:{{
getAcceptList().replace(/\./g, '').replace(/,/g, '、').toUpperCase()
}}</template
>
<template #content>
<div class="break-all pre-wrap">上传文件:最多{{
props.applicationDetails.file_upload_setting.maxFiles
}}个,每个文件限制
{{ props.applicationDetails.file_upload_setting.fileLimit }}MB<br />文件类型:{{
getAcceptList().replace(/\./g, '').replace(/,/g, '、').toUpperCase()
}}
</div>
</template>
<el-button text>
<el-icon><Paperclip /></el-icon>
</el-button>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/ai-chat/component/user-form/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
:key="dynamicsFormRefresh"
v-model="form_data_context"
:model="form_data_context"
label-position="left"
label-position="top"
require-asterisk-position="right"
:render_data="inputFieldList"
ref="dynamicsFormRef"
Expand All @@ -29,7 +29,7 @@
v-if="type === 'debug-ai-chat'"
v-model="api_form_data_context"
:model="api_form_data_context"
label-position="left"
label-position="top"
require-asterisk-position="right"
:render_data="apiInputFieldList"
ref="dynamicsFormRef2"
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/application/ApplicationSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
</h4>
</div>
<div class="scrollbar-height">
<AiChat :applicationDetails="applicationForm"></AiChat>
<AiChat :applicationDetails="applicationForm" :type="'debug-ai-chat'"></AiChat>
</div>
</div>
</el-col>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/workflow/common/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const documentExtractNode = {
config: {
fields: [
{
label: '文件内容',
label: '文档内容',
value: 'content'
}
]
Expand Down

0 comments on commit a37a618

Please sign in to comment.