From 6d98d2b59ec1ad43ca7b40474a0806cfaef8cecf Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 9 Dec 2022 11:06:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/FJUpload.vue | 1 + src/views/courselibrary/CoursewareManage.vue | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/common/FJUpload.vue b/src/components/common/FJUpload.vue index 5701585b..4ea93d9c 100644 --- a/src/components/common/FJUpload.vue +++ b/src/components/common/FJUpload.vue @@ -35,6 +35,7 @@ :class="`${{uploading: 'updatacolor3', done: 'updatacolor' ,error: 'updatacolor2'}[item.status] || 'updatacolor'}`" :style="{width:`${item.status==='uploading'?parseInt(item.percent):100}%`}">
{{ {uploading: '正在上传', done: '上传完成', error: '上传失败'}[item.status] || '' }}
diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 3704ec16..32285a7e 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -629,6 +629,9 @@ +
+ {{ item.slice(item.lastIndexOf('/')+1) }} +
+
+ {{ item.slice(item.lastIndexOf('/')+1) }} +