fix(table): 非常规列设置 field 时,导出 excel 合计行错位 (#1522)

This commit is contained in:
morning-star 2023-12-31 23:27:43 +08:00 committed by GitHub
parent 153576cf99
commit ce4696b529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2967,6 +2967,9 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
// 插入内容
vals.push(content);
}else if(item3.field && item3.type !== 'normal'){
// https://gitee.com/layui/layui/issues/I8PHCR
if(i1 == 0) fieldsIsHide[item3.field] = true;
}
});
}