Skip to content

Commit 6e233c5

Browse files
fix: upload style optimize
1 parent 1ad5eec commit 6e233c5

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

ui/src/components/dynamics-form/items/upload/UploadInput.vue

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
</span>
2828
</div>
2929
<div class="flex align-center">
30-
<div>{{ formatSize(file.size) }}</div>
30+
<div class="ellipsis-1" :title="formatSize(file.size)">{{ formatSize(file.size) }}</div>
3131

32-
<el-button link class="ml-8" @click="deleteFile(file)">
32+
<el-button link class="ml-8" @click="deleteFile(file)" v-if="!inputDisabled">
3333
<AppIcon iconName="app-delete"></AppIcon>
3434
</el-button>
3535
</div>
@@ -149,4 +149,13 @@ const uploadFile = async (file: any, fileList: Array<any>) => {
149149
}
150150
}
151151
}
152+
.execution-details {
153+
.upload_content {
154+
&.media-file-width {
155+
:deep(.el-space__item) {
156+
min-width: 100% !important;
157+
}
158+
}
159+
}
160+
}
152161
</style>

ui/src/locales/lang/en-US/views/document.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default {
185185
feishu: {
186186
selectDocument: 'Select Document',
187187
tip1: 'Only documents and tables are supported. Documents will be segmented based on titles, and tables will be converted to Markdown format before segmentation.',
188-
tip2: 'The system does not store the original document. Before importing the document, it is recommended to standardize the document segmentation markers.',
188+
tip2: 'Before importing the document, it is recommended to standardize the document segmentation markers.',
189189
allCheck: 'Select All',
190190
},
191191
}

ui/src/locales/lang/zh-CN/views/document.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default {
177177
feishu: {
178178
selectDocument: '选择文档',
179179
tip1: '支持文档和表格类型,包含TXT、Markdown、PDF、DOCX、HTML、XLS、XLSX、CSV、ZIP格式;',
180-
tip2: '系统不存储原始文档,导入文档前,建议规范文档的分段标识。',
180+
tip2: '导入文档前,建议规范文档的分段标识。',
181181
allCheck: '全选',
182182
errorMessage1: '请选择文档',
183183
},

ui/src/locales/lang/zh-Hant/views/document.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export default {
180180
feishu: {
181181
selectDocument: '選擇文檔',
182182
tip1: '僅支持文檔和表格類型,文檔會根據標題分段,表格會轉為Markdown格式後再分段。',
183-
tip2: '系統不存儲原始文檔,導入文檔前,建議規範文檔的分段標識。',
183+
tip2: '導入文檔前,建議規範文檔的分段標識。',
184184
allCheck: '全選',
185185
},
186186
}

0 commit comments

Comments
 (0)