Commit e58074ab authored by Damon's avatar Damon

fix: img

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