forked from opentiny/tiny-vue
24 lines
473 B
Vue
24 lines
473 B
Vue
<template>
|
||
<div class="demo-input">
|
||
<tiny-input v-model="input" mask disabled></tiny-input>
|
||
<tiny-input v-model="input" mask display-only></tiny-input>
|
||
</div>
|
||
</template>
|
||
|
||
<script setup>
|
||
import { ref } from 'vue'
|
||
import { Input as TinyInput } from '@opentiny/vue'
|
||
|
||
const input = ref('文字过长时会显示点点点,并且鼠标悬浮出现tip')
|
||
</script>
|
||
|
||
<style scoped>
|
||
.demo-input {
|
||
width: 150px;
|
||
}
|
||
|
||
.demo-input > * {
|
||
margin-bottom: 10px;
|
||
}
|
||
</style>
|