diff --git a/packages/col/src/col.ts b/packages/col/src/col.ts index 0dea778840..76fabff42e 100644 --- a/packages/col/src/col.ts +++ b/packages/col/src/col.ts @@ -8,6 +8,10 @@ type SizeObject = { const ElCol = defineComponent({ name: 'ElCol', props: { + tag: { + type: String, + default: 'div', + }, span: { type: Number, default: 24, @@ -85,7 +89,7 @@ const ElCol = defineComponent({ }) return () => h( - 'div', + props.tag, { class: ['el-col', classList.value], style: style.value,