mirror of https://github.com/layui/layui
2.0.1
parent
7265b2c471
commit
a6703434e4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -285,7 +285,7 @@ layui.define(['laytpl', 'laypage', 'layer', 'form'], function(exports){
|
||||||
var tds = [], tds_fixed = [], tds_fixed_r = [];
|
var tds = [], tds_fixed = [], tds_fixed_r = [];
|
||||||
that.eachCols(function(i3, item3){
|
that.eachCols(function(i3, item3){
|
||||||
var content = item1[item3.field||i3];
|
var content = item1[item3.field||i3];
|
||||||
if(content === undefined && content === null){
|
if(content === undefined || content === null){
|
||||||
content = (i3 === 0 ? i1+1 : '');
|
content = (i3 === 0 ? i1+1 : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue