feat: 操作列逻辑修改
This commit is contained in:
@ -553,13 +553,7 @@
|
||||
|
||||
function filterColum(column) {
|
||||
return column.filter((o) => {
|
||||
let flag = true;
|
||||
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
|
||||
} else {
|
||||
flag = true
|
||||
}
|
||||
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)))
|
||||
return flag;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user