Files
workspace/code/g3soft-libs/docs/examples/input/basic.vue
T
2026-10-09 17:32:14 +08:00

14 lines
309 B
Vue

<script setup lang="ts">
// 最基础用法:v-model 双向绑定,值类型为 string
import { ref } from 'vue'
import { G3Input } from '@g3soft/ui'
const value = ref('')
</script>
<template>
<div style="width: 260px">
<G3Input v-model="value" placeholder="请输入名称" />
</div>
</template>