mirror of https://github.com/nocodb/nocodb
աɨռɢӄաօռɢ
2 years ago
committed by
GitHub
4 changed files with 30 additions and 0 deletions
@ -0,0 +1,23 @@
|
||||
<script setup lang="ts"> |
||||
import Text from './Text.vue' |
||||
|
||||
interface Props { |
||||
modelValue: any |
||||
} |
||||
|
||||
interface Emits { |
||||
(event: 'update:modelValue', model: string): void |
||||
} |
||||
|
||||
const props = defineProps<Props>() |
||||
|
||||
const emits = defineEmits<Emits>() |
||||
|
||||
const vModel = useVModel(props, 'modelValue', emits) |
||||
</script> |
||||
|
||||
<template> |
||||
<Text v-model="vModel" /> |
||||
</template> |
||||
|
||||
<style scoped></style> |
Loading…
Reference in new issue