fix: remove unnecessary blank line in VnColumn.vue
gitea/salix-front/pipeline/pr-test This commit looks good
Details
gitea/salix-front/pipeline/pr-test This commit looks good
Details
This commit is contained in:
parent
924cc86bb7
commit
441876d53e
|
@ -180,10 +180,10 @@ const col = computed(() => {
|
|||
)
|
||||
newColumn.component = 'checkbox';
|
||||
if ($props.default && !newColumn.component) newColumn.component = $props.default;
|
||||
|
||||
|
||||
if (typeof newColumn.component !== 'string') {
|
||||
newColumn.attrs = { ...newColumn.component.attrs, autofocus: $props.autofocus };
|
||||
newColumn.event = { ...newColumn.component.event, ...$props?.eventHandlers };
|
||||
newColumn.attrs = { ...newColumn.component?.attrs, autofocus: $props.autofocus };
|
||||
newColumn.event = { ...newColumn.component?.event, ...$props?.eventHandlers };
|
||||
}
|
||||
return newColumn;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue