!274 修复图片 value 问题

Merge pull request !274 from F4nniu/fix-image-value-split
pull/274/MERGE
F4nniu 2021-02-02 15:29:36 +08:00 committed by Gitee
commit 9174b6c306
3 changed files with 3 additions and 3 deletions

View File

@ -12130,7 +12130,7 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr
'click .img-center': function (e, value, row, index) {
var data = [];
value = value === null ? '' : value.toString();
var arr = value != '' ? split(",") : [];
var arr = value != '' ? value.split(",") : [];
$.each(arr, function (index, value) {
data.push({
src: Fast.api.cdnurl(value),

View File

@ -11979,7 +11979,7 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr
'click .img-center': function (e, value, row, index) {
var data = [];
value = value === null ? '' : value.toString();
var arr = value != '' ? split(",") : [];
var arr = value != '' ? value.split(",") : [];
$.each(arr, function (index, value) {
data.push({
src: Fast.api.cdnurl(value),

View File

@ -602,7 +602,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
'click .img-center': function (e, value, row, index) {
var data = [];
value = value === null ? '' : value.toString();
var arr = value != '' ? split(",") : [];
var arr = value != '' ? value.split(",") : [];
$.each(arr, function (index, value) {
data.push({
src: Fast.api.cdnurl(value),