提交 c1c2fc75 authored 作者: zgy's avatar zgy

商品优化

上级 ba3c38f8
...@@ -463,8 +463,8 @@ imageFormat = function (cellvalue, options, rowObject) { ...@@ -463,8 +463,8 @@ imageFormat = function (cellvalue, options, rowObject) {
cellvalue = "<i class=\"fa fa-file-picture-o\" style=\"font-size:30px;\" title='无图'></i>"; cellvalue = "<i class=\"fa fa-file-picture-o\" style=\"font-size:30px;\" title='无图'></i>";
} else { } else {
if (cellvalue.indexOf(',')) { if (cellvalue.indexOf(';')) {
let split = cellvalue.split(','); let split = cellvalue.split(';');
cellvalue = '<img src="' + split[0] + '" style="width:30px;height:30px;" />'; cellvalue = '<img src="' + split[0] + '" style="width:30px;height:30px;" />';
} else { } else {
cellvalue = '<img src="' + cellvalue + '" style="width:30px;height:30px;" />'; cellvalue = '<img src="' + cellvalue + '" style="width:30px;height:30px;" />';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论