Commit 73ba5365 authored by 赵啸非's avatar 赵啸非

添加上传附件限制

parent c5dbf237
......@@ -137,8 +137,8 @@ export default {
// 然后将数组转为对象数组
const fileNamelist =this.fileName.split(',');
for (var i = 0; i < filePathlist.length; i++) {
if(filePathlist[i]==='') continue
let item = {}
console.log(fileNamelist.length === filePathlist.length)
if (fileNamelist.length === filePathlist.length) {
item.name = fileNamelist[i];
} else {
......
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