From 3518c37ffb3a71f9e67f0bfcbb900b5a7bb32e2c Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Mon, 1 Apr 2024 19:00:36 +0800 Subject: [PATCH] =?UTF-8?q?style(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=8E=BB=E6=8E=89canvas=E8=AE=A1=E7=AE=97=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/pure/ms-upload/fileList.vue | 51 +++++++++---------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/frontend/src/components/pure/ms-upload/fileList.vue b/frontend/src/components/pure/ms-upload/fileList.vue index ab3868a6bc..a3e8e6af8a 100644 --- a/frontend/src/components/pure/ms-upload/fileList.vue +++ b/frontend/src/components/pure/ms-upload/fileList.vue @@ -40,11 +40,11 @@
-
- {{ item.file.name }} +
+ {{ item.file.name.slice(0, item.file.name.indexOf('.')) }}
- {{ - item.file.name.slice(item.file.name.indexOf('.') + 1) + {{ + item.file.name.slice(item.file.name.indexOf('.')) }}
@@ -60,19 +60,26 @@
-
- {{ - `${formatFileSize(item.file.size)} ${item.createUserName || ''} ${getUploadDesc(item)} ${dayjs( - item.createTime - ).format('YYYY-MM-DD HH:mm:ss')}` - }} -
- -
- - {{ t('ms.upload.uploadSuccess') }} +
+ +
+ {{ + `${formatFileSize(item.file.size)} ${item.createUserName || ''} ${getUploadDesc( + item + )} ${dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss')}` + }} +
+
+
+ + {{ t('ms.upload.uploadSuccess') }} +
{{ t('ms.upload.preview') }} + {{ t('ms.upload.reUpload') }} + asyncTaskStore.uploadFileTask.finishedTime, (val) => {