feat: 添加注释
This commit is contained in:
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user