|
@@ -35,7 +35,7 @@ export default {
|
|
this.loading = this.$loading(this.loadOption)
|
|
this.loading = this.$loading(this.loadOption)
|
|
},
|
|
},
|
|
beforeMultipleUpload(file){
|
|
beforeMultipleUpload(file){
|
|
- let typeArr = this.desc.indexOf('4dage')>-1 ? ['.4dage'] : ['avi','mov','rmvb','rm','flv','mp4','3gp']
|
|
|
|
|
|
+ let typeArr = this.desc.indexOf('4dage')>-1 ? ['.4dage'] : ['mp4']
|
|
let type = this.isTypeBySend(file.name,typeArr);
|
|
let type = this.isTypeBySend(file.name,typeArr);
|
|
if (!type) {
|
|
if (!type) {
|
|
this.$message.error('只允许指定文件格式的文件');
|
|
this.$message.error('只允许指定文件格式的文件');
|