|
@@ -191,7 +191,7 @@
|
|
|
{field: 'id', title: 'Id', width: 100},
|
|
{field: 'id', title: 'Id', width: 100},
|
|
|
{
|
|
{
|
|
|
field: 'image', title: '图片', templet: function (d) {
|
|
field: 'image', title: '图片', templet: function (d) {
|
|
|
- var cover = JSON.parse(d.image),
|
|
|
|
|
|
|
+ var cover = d.image?JSON.parse(d.image):{},
|
|
|
html = "";
|
|
html = "";
|
|
|
$.each(cover, (i, item) => {
|
|
$.each(cover, (i, item) => {
|
|
|
html += '<img src="' + (item || '../../assets/images/placeholder-refund.png') + '" style="height: 100%;margin-right:2px" class="input-img-preview"/>'
|
|
html += '<img src="' + (item || '../../assets/images/placeholder-refund.png') + '" style="height: 100%;margin-right:2px" class="input-img-preview"/>'
|