添加掌上工厂应用
This commit is contained in:
30
apps/hand-factory/components/klp-ui/k-form/k-form.vue
Normal file
30
apps/hand-factory/components/klp-ui/k-form/k-form.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
formConf: {
|
||||
require: true,
|
||||
type: Object
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
formConf: {
|
||||
immediate: true,
|
||||
deep: true,
|
||||
handler(newVal) {
|
||||
this.SchemaToJsonForm(newVal)
|
||||
}
|
||||
}
|
||||
}
|
||||
methods: {
|
||||
SchemaToJsonForm(schema) {
|
||||
console.log(schema)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user