VText
继承自 el-text
基础用法
input:
text: primary
View Source
vue
<script setup lang="ts">
import { ref } from 'vue'
const text = ref('primary' as const)
</script>
<template>
<div>input: <input v-model="text" placeholder="Input Text Here"></div>
<div>text: <VText v-model="text" :type="text" /></div>
</template>