出现严重问题,暂时回购此修改【issues/423】修复 JVxeTypes.hidden 不能赋值
parent
0daa05e8d0
commit
4112e58577
|
@ -110,9 +110,7 @@ function handleInnerColumn(args: HandleArgs, col: JVxeColumn, handler: (args: Ha
|
||||||
* 处理隐藏列
|
* 处理隐藏列
|
||||||
*/
|
*/
|
||||||
function handleHiddenColumn({ col, columns }: HandleArgs) {
|
function handleHiddenColumn({ col, columns }: HandleArgs) {
|
||||||
col!.params = cloneDeep(col);
|
|
||||||
delete col!.type;
|
delete col!.type;
|
||||||
col!.field = col!.key
|
|
||||||
col!.visible = false;
|
col!.visible = false;
|
||||||
columns.push(col!);
|
columns.push(col!);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue