Commit 8f702ab6 by caoyanzhi

fix: 修复图片上传的bug

parent 3e64bfac
......@@ -662,7 +662,7 @@ export default {
this.image.forEach((item, index) =>{
handelImage[index] = item.url;
});
this.goodsForm.giftImages = handelImage.join('');
this.goodsForm.giftImages = handelImage.join(',');
},
// 删除图片 返回图片列表的索引 你可以根据这个索引去找对应图片的id
deleteImage(i) {
......@@ -671,7 +671,7 @@ export default {
this.image.forEach((item, index) =>{
handelImage[index] = item.url;
});
this.goodsForm.giftImages = handelImage.join('');
this.goodsForm.giftImages = handelImage.join(',');
},
sortImg(val) {
this.image = val;
......@@ -679,7 +679,7 @@ export default {
this.image.forEach((item, index) =>{
handelImage[index] = item.url;
});
this.goodsForm.giftImages = handelImage.join('');
this.goodsForm.giftImages = handelImage.join(',');
},
handleChange(val) {
this.goodsForm.giftDescrption = val;
......
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