Commit 1ae71851 authored by liqin's avatar liqin :speech_balloon:

bug fixed

parent e8387852
......@@ -2,7 +2,7 @@
<div>
<el-upload
ref="upload"
accept=".mp4,.flv,.mpeg,.mpg,.word,.pdf,.ppt,.jpg,.jpeg,.png.JPG,.JPEG,.PNG"
accept=".mp4,.flv,.mpeg,.mpg,.mov,.doc,.docx,.pdf,.ppt,.pptx,.jpg,.jpeg,.png,.bmp,.JPG,.JPEG,.PNG"
:multiple="true"
:http-request="uploadFile"
:file-list="fileList"
......
......@@ -3,7 +3,7 @@
<el-upload
ref="upload"
accept=".mp4,.flv,.mpeg,.mpg"
accept=".mp4,.flv,.mpeg,.mpg,.mov"
:multiple="true"
:http-request="uploadFile"
:file-list="fileList"
......@@ -45,7 +45,7 @@ export default {
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
},
submitUpload() { // 导入
// this.openFullScreen2()
......@@ -76,7 +76,7 @@ export default {
loading.close();
// this.loading = false
if (resData.resultCode == "200") {
_this.$message.success('上传成功!')
const data = resData.data.fileList;
let newArray = data.map((item) => item.id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment