fix: 修复执行动作无法添加问题

This commit is contained in:
xieyonghong 2023-05-04 16:48:04 +08:00
parent 4200ea9711
commit 0fca64771a
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ const onSave = (data: any, options?: any) => {
key: data.key,
options: {
...options,
columns: options.otherColumns.filter((item?: string) => item)
columns: options.otherColumns?.filter((item?: string) => item) || []
},
};
emit('add', item)