fix(#IXT59): 数据表格选择列出现其状态值

#Comment
comment #IXT59

#Issue
close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IXT59
This commit is contained in:
Argo Zhang 2019-06-12 10:27:26 +08:00
parent 9be7f7acdf
commit ab8c31f251
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@
}, options); }, options);
settings.url = $.formatUrl(settings.url); settings.url = $.formatUrl(settings.url);
$.each(settings.columns, function (index, value) { $.each(settings.columns, function (index, value) {
if (value.checkbox) return;
if (!$.isFunction(value.formatter)) { if (!$.isFunction(value.formatter)) {
value.formatter = function (value, row, index, field) { value.formatter = function (value, row, index, field) {
return $.safeHtml(value); return $.safeHtml(value);