贴部分代码,大佬们帮我看看把
怀疑我的 html 写的不对
```
<u-form ref="formRef" :model="dynamicForm" label-align='left' :error-type="['border-bottom']">
<u-form-item v-for="(item,index) in dynamicForm.formItemList" :key="index" :label="item.label +' :'"
:prop="dynamicForm.formItemList[index].prop" label-width='auto' :required="item.required">
<u-input v-if="item.el===0" v-model="item.defaultValue" placeholder="请输入" />
<u-keyboard v-else-if="item.el===2" v-model="item.defaultValue"></u-keyboard>
<u-calendar v-else-if="item.el===3" v-model="item.defaultValue"></u-calendar>
<u-input v-if="item.el===4" v-model="dynamicForm.formItemList[index].defaultKey" type="select" placeholder="请选择"
@
click="onOpenSelect(item)" />
<view v-else-if="item.el===9">{{item.defaultValue}}</view>
</u-form-item>
</u-form>
```
```
const dynamicForm = reactive<{
formItemList : FormColumnProps[],
}>({
formItemList: [],
})
```
```
onReady(() => {
formRef.value.setRules(rules);
});
```