Commit b4cf00fa authored by guoyou's avatar guoyou

峰会回顾压缩包修复

parent e5d2bc4f
......@@ -170,7 +170,6 @@ export default {
beforeAvatarUpload(file) {
var index = file.name.lastIndexOf('.')
var ext = file.name.substr(index + 1)
console.log(ext)
if (ext != 'zip') {
this.$message.error('上传压缩包只能是 zip 格式!')
return false
......@@ -197,7 +196,7 @@ export default {
cre() {
let zipPic = []
this.list.forEach(element => {
zipPic.push(element.url)
zipPic.push(element.response.data)
})
let mp4Vadio = []
this.vadio.forEach(element => {
......@@ -219,6 +218,8 @@ export default {
: zipPic.join(',') + ',' + this.oldList
: zipPic.join(',')
}
// console.log(params);
save(params).then(res => {
this.responseResult(res)
})
......
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