Commit e58074ab authored by Damon's avatar Damon

fix: img

parent e2986d83
......@@ -76,8 +76,8 @@
},
mounted() {
if(this.value){
this.imgList = this.value.map(img =>{
return {src:img}
this.imgList = this.value.filter(v => v).map(img =>{
return {src:img ? img : ''}
})
this.setValue()
}
......
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