
视频请上传MP4格式
+ +
视频请上传MP4格式
+ +From 4597a8919e98622ec943d6c94e87a41279967ad1 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 23 Nov 2023 18:05:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=BF=E9=87=8C=E4=BA=91oss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/upload/index.vue | 4 +- src/views/course/contentSettings.vue | 100 +- src/views/match/list/index.vue | 3 +- .../contentSettings/index.vue | 1720 +++++++++-------- 4 files changed, 956 insertions(+), 871 deletions(-) diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue index 8e3ae47..7493705 100644 --- a/src/components/upload/index.vue +++ b/src/components/upload/index.vue @@ -111,7 +111,7 @@ export default { }); this.uploading = false - const url = 'http://huoran.oss-cn-shenzhen.aliyuncs.com/' + name + const url = 'https://huoran.oss-cn-shenzhen.aliyuncs.com/' + name this.changeFileList && this.$emit('update:fileList', [ ...this.fileList, { @@ -124,7 +124,7 @@ export default { this.$emit('onSuccess', { format: util.getFileExt(file.name), name: file.name, - url: url, + url, size: file.size, }) } catch (error) { } diff --git a/src/views/course/contentSettings.vue b/src/views/course/contentSettings.vue index 6ec699e..48d5a48 100644 --- a/src/views/course/contentSettings.vue +++ b/src/views/course/contentSettings.vue @@ -169,25 +169,6 @@
视频请上传MP4格式,大小不超过150M;office文件大小不要超过10M
-视频请上传MP4格式
+ +视频请上传MP4格式
+ +