Commit 1ae71851 authored by liqin's avatar liqin 💬

bug fixed

parent e8387852
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<el-upload <el-upload
ref="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" :multiple="true"
:http-request="uploadFile" :http-request="uploadFile"
:file-list="fileList" :file-list="fileList"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-upload <el-upload
ref="upload" ref="upload"
accept=".mp4,.flv,.mpeg,.mpg" accept=".mp4,.flv,.mpeg,.mpg,.mov"
:multiple="true" :multiple="true"
:http-request="uploadFile" :http-request="uploadFile"
:file-list="fileList" :file-list="fileList"
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
spinner: 'el-icon-loading', spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)' background: 'rgba(0, 0, 0, 0.7)'
}); });
}, },
submitUpload() { // 导入 submitUpload() { // 导入
// this.openFullScreen2() // this.openFullScreen2()
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
loading.close(); loading.close();
// this.loading = false // this.loading = false
if (resData.resultCode == "200") { if (resData.resultCode == "200") {
_this.$message.success('上传成功!') _this.$message.success('上传成功!')
const data = resData.data.fileList; const data = resData.data.fileList;
let newArray = data.map((item) => item.id); 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