|
@@ -48,14 +48,15 @@ export default { |
|
@@ -48,14 +48,15 @@ export default { |
48
|
width: 170,
|
48
|
width: 170,
|
49
|
render(row, col, index) {
|
49
|
render(row, col, index) {
|
50
|
return `<div
|
50
|
return `<div
|
51
|
- :class="{'upload-item': true ,
|
|
|
52
|
- 'upload-item-error':
|
|
|
53
|
- row.goodsColorImage.showValidate && row.goodsColorImage.validate}"
|
|
|
54
|
- >
|
51
|
+ :class="{'upload-item': true ,
|
|
|
52
|
+ 'upload-item-error':
|
|
|
53
|
+ row.goodsColorImage.showValidate && row.goodsColorImage.validate}">
|
55
|
<div class="upload-item-img">
|
54
|
<div class="upload-item-img">
|
56
|
<img v-if="row.goodsColorImage.value"
|
55
|
<img v-if="row.goodsColorImage.value"
|
57
|
- :src="row.goodsColorImage.value" alt="" width="120px" height="122px">
|
56
|
+ :src="row.goodsColorImage.value"
|
|
|
57
|
+ alt="" width="120px" height="122px">
|
58
|
</div>
|
58
|
</div>
|
|
|
59
|
+
|
59
|
<div>
|
60
|
<div>
|
60
|
<file-upload :id="{index: ${index}}"
|
61
|
<file-upload :id="{index: ${index}}"
|
61
|
@on-success="uploadSuccess"
|
62
|
@on-success="uploadSuccess"
|