diff --git a/frontend/src/components/pure/ms-upload/fileList.vue b/frontend/src/components/pure/ms-upload/fileList.vue index 240a20a9df..93c8e9a0c3 100644 --- a/frontend/src/components/pure/ms-upload/fileList.vue +++ b/frontend/src/components/pure/ms-upload/fileList.vue @@ -43,7 +43,11 @@
-
+
{{ item.file.name.slice(0, item.file.name.indexOf('.')) }}
@@ -226,6 +230,7 @@ showUploadTypeDesc?: boolean; // 自定义上传类型关联于&上传于 initFileSaveTips?: string; // 上传初始文件时的提示 buttonInTitle?: boolean; // 按钮是否在标题中 + fileNameMaxWidth?: string; // 文件名称最大宽度 }>(), { mode: 'remote', diff --git a/frontend/src/views/bug-management/edit.vue b/frontend/src/views/bug-management/edit.vue index a651b809cc..efb93649db 100644 --- a/frontend/src/views/bug-management/edit.vue +++ b/frontend/src/views/bug-management/edit.vue @@ -60,6 +60,7 @@ :init-file-save-tips="t('ms.upload.waiting_save')" mode="static" :show-delete="false" + :file-name-max-width="props.fileNameMaxWidth" >