Commit 9348f159 by cwq0219

编辑商品-描述

1 parent 08f4c2fa
...@@ -1245,7 +1245,10 @@ export default { ...@@ -1245,7 +1245,10 @@ export default {
params.id = this.routeInfo.id params.id = this.routeInfo.id
} }
// 描述 // 描述
params.goodsDescList = this.$common.utils.deepClone(this.editForm.descImgList) params.goodsDescList = []
this.editForm.descImgList.forEach(item => {
item.content && params.goodsDescList.push(item)
})
if (this.editForm.describeTxt) { if (this.editForm.describeTxt) {
params.goodsDescList.unshift({ params.goodsDescList.unshift({
content: this.editForm.describeTxt, content: this.editForm.describeTxt,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!