Commit 7758ac29 authored by yaya's avatar yaya

feat:bugfix

parent 38103bed
...@@ -470,10 +470,10 @@ export default { ...@@ -470,10 +470,10 @@ export default {
return item return item
} }
}) })
if (this.goodsParams.topImage === url) { if (this.goodsParams.topImage === url) {
this.goodsParams.topImage = resultImage this.goodsParams.topImage = resultImage
} else if (this.goodsParams.images && this.goodsParams.images.indexOf(url) !== -1) { }
if (this.goodsParams.images && this.goodsParams.images.indexOf(url) !== -1) {
this.goodsParams.images = this.goodsParams.images.map((item) => { this.goodsParams.images = this.goodsParams.images.map((item) => {
if (item === url) { if (item === url) {
return resultImage return resultImage
......
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