Merge pull request 'fix: remove unnecessary blank line in VnColumn.vue' (!1808) from warmFixVnTableCardList into test
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #1808 Reviewed-by: Jorge Penadés <jorgep@verdnatura.es>
This commit is contained in:
commit
c2d615bc6c
|
@ -182,8 +182,8 @@ const col = computed(() => {
|
||||||
if ($props.default && !newColumn.component) newColumn.component = $props.default;
|
if ($props.default && !newColumn.component) newColumn.component = $props.default;
|
||||||
|
|
||||||
if (typeof newColumn.component !== 'string') {
|
if (typeof newColumn.component !== 'string') {
|
||||||
newColumn.attrs = { ...newColumn.component.attrs, autofocus: $props.autofocus };
|
newColumn.attrs = { ...newColumn.component?.attrs, autofocus: $props.autofocus };
|
||||||
newColumn.event = { ...newColumn.component.event, ...$props?.eventHandlers };
|
newColumn.event = { ...newColumn.component?.event, ...$props?.eventHandlers };
|
||||||
}
|
}
|
||||||
return newColumn;
|
return newColumn;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue