【issues/423】修复 JVxeTypes.hidden 不能赋值

pull/474/head
zhangdaiscott 2023-04-12 21:45:16 +08:00
parent 41e48c5113
commit e9df85908a
1 changed files with 2 additions and 0 deletions

View File

@ -110,7 +110,9 @@ function handleInnerColumn(args: HandleArgs, col: JVxeColumn, handler: (args: Ha
*
*/
function handleHiddenColumn({ col, columns }: HandleArgs) {
col!.params = cloneDeep(col);
delete col!.type;
col!.field = col!.key
col!.visible = false;
columns.push(col!);
}