mirror of
https://gitee.com/layui/layui.git
synced 2025-12-27 06:35:47 +08:00
修复 table hideCol 方法第二个参数为对象时无效的问题
This commit is contained in:
@@ -2817,6 +2817,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||
}
|
||||
})
|
||||
} else {
|
||||
cols = layui.isArray(cols) ? cols : [cols];
|
||||
layui.each(cols, function (i1, item1) {
|
||||
that.eachCols(function (i2, item2) {
|
||||
if (item1.field === item2.field) {
|
||||
|
||||
Reference in New Issue
Block a user