mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(docs): [form] label-position type error (#14312)
This commit is contained in:
@@ -25,8 +25,9 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { reactive, ref } from 'vue'
|
||||
import type { FormProps } from 'element-plus'
|
||||
|
||||
const labelPosition = ref('right')
|
||||
const labelPosition = ref<FormProps['labelPosition']>('right')
|
||||
|
||||
const formLabelAlign = reactive({
|
||||
name: '',
|
||||
|
||||
Reference in New Issue
Block a user