This commit is contained in:
liangping
2023-04-07 10:11:48 +08:00
parent 8c31935432
commit d3a7c6f176
14 changed files with 142 additions and 68 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import TextElement from './TextElement.vue'
import ObjectElement from './ObjectElement.vue'
import { select } from './index'
const props = defineProps(["value"]);
const props = defineProps(["value", "direct"]);
</script>
<template>
<Component :is="select(value)" :value="value"></Component>
<Component :is="select(value, direct)" :value="value"></Component>
</template>