Commit a6051574 authored by yaya's avatar yaya

feat:钱币设置优化

parent 94928da8
......@@ -327,7 +327,11 @@ export default {
this.categoryIds = [this.goodsParams.cid]
}
if (response.data.data.images) {
this.goodsParams.images = response.data.data.images.split(';')
this.goodsParams.images = response.data.data.images.split(';') || []
}
if (this.goodsParams.topImage) {
const list = [this.goodsParams.topImage]
this.goodsParams.images = list.concat(this.goodsParams.images)
}
})
},
......@@ -338,6 +342,7 @@ export default {
this.blob = ''
this.blobSecond = ''
this.src = ''
this.compositeImageSrc = ''
},
// 选择图片结果
fileChange(e) {
......
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