diff --git a/ruoyi-ui/src/views/benyi_train/video/index.vue b/ruoyi-ui/src/views/benyi_train/video/index.vue index 299679104..7b75dcb6d 100644 --- a/ruoyi-ui/src/views/benyi_train/video/index.vue +++ b/ruoyi-ui/src/views/benyi_train/video/index.vue @@ -349,14 +349,14 @@ export default { file.type === "video/avi" || file.type === "video/wmv" || file.type === "video/rmvb"; - const isLt500M = file.size / 1024 / 1024 < 500; + const isLt1000M = file.size / 1024 / 1024 < 1000; if (!isVideo) { this.msgError("请上传正确格式的视频!"); return false; } else { this.form.filetype = file.type; - if (!isLt500M) { - this.msgError("上传视频文件大小不能超过 500MB!"); + if (!isLt1000M) { + this.msgError("上传视频文件大小不能超过 1000MB!"); return false; } } diff --git a/ruoyi-ui/src/views/benyi_train/video_study/detail.vue b/ruoyi-ui/src/views/benyi_train/video_study/detail.vue index e0d50a26c..22524750a 100644 --- a/ruoyi-ui/src/views/benyi_train/video_study/detail.vue +++ b/ruoyi-ui/src/views/benyi_train/video_study/detail.vue @@ -127,7 +127,7 @@ export default { sources: [ { type: response.data.filetype, - src: "https://files.benyiedu.com/" + response.data.videourl + src: response.data.videourl } ], notSupportedMessage: "此视频暂无法播放,请稍后再试", diff --git a/ruoyi-ui/src/views/benyi_train/video_study/index.vue b/ruoyi-ui/src/views/benyi_train/video_study/index.vue index 5a41bb8e7..2c788a562 100644 --- a/ruoyi-ui/src/views/benyi_train/video_study/index.vue +++ b/ruoyi-ui/src/views/benyi_train/video_study/index.vue @@ -74,7 +74,7 @@