feat: 添加FormBuilder组件
This commit is contained in:
parent
458b4ae3d3
commit
c5eb9fddc3
|
@ -5,9 +5,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup type='ts' name='FormBuilder'>
|
<script setup type='ts' name='FormBuilder'>
|
||||||
export default {
|
const data = reactive({})
|
||||||
name: 'FormBuilder'
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
import FormBuilder from './FormBuilder.vue'
|
||||||
|
|
||||||
|
export default FormBuilder
|
|
@ -3,12 +3,14 @@ import AIcon from './AIcon'
|
||||||
import PermissionButton from './PermissionButton/index.vue'
|
import PermissionButton from './PermissionButton/index.vue'
|
||||||
import JTable from './Table/index'
|
import JTable from './Table/index'
|
||||||
import TitleComponent from "./TitleComponent/index.vue";
|
import TitleComponent from "./TitleComponent/index.vue";
|
||||||
|
import Form from './Form'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
install(app: App) {
|
install(app: App) {
|
||||||
app.component('AIcon', AIcon)
|
app.component('AIcon', AIcon)
|
||||||
app.component('PermissionButton', PermissionButton)
|
.component('PermissionButton', PermissionButton)
|
||||||
app.component('JTable', JTable)
|
.component('JTable', JTable)
|
||||||
app.component('TitleComponent', TitleComponent)
|
.component('TitleComponent', TitleComponent)
|
||||||
|
.component('Form', Form)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,10 @@ export default [
|
||||||
path: '/table',
|
path: '/table',
|
||||||
component: () => import('@/views/table/index.vue')
|
component: () => import('@/views/table/index.vue')
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/form',
|
||||||
|
component: () => import('@/views/demo/Form.vue')
|
||||||
|
},
|
||||||
// end: 测试用, 可删除
|
// end: 测试用, 可删除
|
||||||
|
|
||||||
// link 运维管理
|
// link 运维管理
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<template>
|
||||||
|
<Form />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup name='FormDemo'>
|
||||||
|
const data = reactive({})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
Loading…
Reference in New Issue