已参加考试列表

This commit is contained in:
18571350067 2022-02-26 09:36:21 +08:00
commit 0b9497a2c8
1 changed files with 7 additions and 5 deletions

View File

@ -276,10 +276,10 @@ export default {
beforeUpload(file) {
// ()
var suffix = file.name.substring(file.name.lastIndexOf('.') + 1);
if (this.fileUpload.tabkey == '1' && suffix != 'mp4') {
return this.$message.error('文件类型必须是mp4');
}
// var suffix = file.name.substring(file.name.lastIndexOf('.') + 1);
// if (this.fileUpload.tabkey == '1' && suffix != 'mp4') {
// return this.$message.error('mp4');
// }
//
this.uploadLoading = true;
@ -521,6 +521,8 @@ export default {
this.successOssFile.push(successOssFile_);
});
console.log(this.successOssFile);
if (this.courseware.type == '1') {
this.fileUpload.tabkey = '1';
this.fileUpload.videoForm = this.courseware;