Authored by htoooth

fix

... ... @@ -50,12 +50,13 @@ export default {
return `<div
:class="{'upload-item': true ,
'upload-item-error':
row.goodsColorImage.showValidate && row.goodsColorImage.validate}"
>
row.goodsColorImage.showValidate && row.goodsColorImage.validate}">
<div class="upload-item-img">
<img v-if="row.goodsColorImage.value"
:src="row.goodsColorImage.value" alt="" width="120px" height="122px">
:src="row.goodsColorImage.value"
alt="" width="120px" height="122px">
</div>
<div>
<file-upload :id="{index: ${index}}"
@on-success="uploadSuccess"
... ...
... ... @@ -73,12 +73,12 @@
} else if (result.code === 500) {
this.$Notice.error({
title: '导入失败',
content: result.message
desc: result.message
});
} else {
this.$Notice.error({
title: '导入失败',
content: result.message
desc: result.message
});
}
},
... ...