u
This commit is contained in:
1 parent
f572dce2f6
commit
e99a9fb274
356 files changed
+28877
-1055
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<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="请输入名称" />
|
||||
<p style="margin: 8px 0 0; font-size: 13px; color: #6b7280">值:{{ value || '(空)' }}</p>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user