diff --git a/project/qujing/app/AppCurriculumManage/components/Add.vue b/project/qujing/app/AppCurriculumManage/components/Add.vue index 8be93070..c3004053 100644 --- a/project/qujing/app/AppCurriculumManage/components/Add.vue +++ b/project/qujing/app/AppCurriculumManage/components/Add.vue @@ -168,9 +168,9 @@ }; mp4boxfile.onReady = (info) => { let codec = info.mime.match(/codecs="(\S*),/)[1] - if (codec.indexOf('avc') === -1) { - return this.$message.error("视频编码格式不支持") - } + // if (codec.indexOf('avc') === -1) { + // return this.$message.error("视频编码格式不支持") + // } if (size) { return this.$message.error("视频大小不能超过100M");