...
|
...
|
@@ -48,14 +48,15 @@ export default { |
|
|
width: 170,
|
|
|
render(row, col, index) {
|
|
|
return `<div
|
|
|
:class="{'upload-item': true ,
|
|
|
'upload-item-error':
|
|
|
row.goodsColorImage.showValidate && row.goodsColorImage.validate}"
|
|
|
>
|
|
|
:class="{'upload-item': true ,
|
|
|
'upload-item-error':
|
|
|
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"
|
...
|
...
|
|