wip(VForm): VForm component development

This commit is contained in:
kailong321200875
2021-12-15 21:26:14 +08:00
parent 558abb86dc
commit 2730c2b359
3 changed files with 64 additions and 27 deletions

View File

@@ -15,15 +15,17 @@ onMounted(() => {
const schema = reactive<VFormSchema[]>([
{
field: 'field1',
component: 'Divider',
componentProps: {
text: 'input示例'
}
},
{
field: 'field2',
label: '字段1',
component: 'Input'
}
])
// setTimeout(() => {
// schema.push({
// field: '2'
// })
// }, 3000)
</script>
<template>