feat: 添加注释

This commit is contained in:
GAOANG
2024-09-04 17:15:35 +08:00
parent 80f7f5a423
commit 2d0b948b17

View File

@ -553,7 +553,11 @@
function filterColum(column) {
return column.filter((o) => {
let flag = (o.key == 'index' || (((isBoolean(o.show) && o.show) || !isBoolean(o.show)) && isBoolean(o.componentProps?.isShow) && o.componentProps?.isShow) || !isBoolean(o.componentProps?.isShow) && (o.key != 'action' || !(o.key == 'action' && props.disableAddRow)))
let flag = o.key == 'index' || (((isBoolean(o.show) && o.show) || !isBoolean(o.show)) && isBoolean(o.componentProps?.isShow) && o.componentProps?.isShow) || !isBoolean(o.componentProps?.isShow)
if(o.key == 'action' && props.disableAddRow) {
// 是否有操作列与是否有能添加行逻辑算定
flag = false
}
return flag;
});
}