forked from opentiny/tiny-vue
32 lines
517 B
Vue
32 lines
517 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>
|
||
import { Input } from '@opentiny/vue'
|
||
|
||
export default {
|
||
components: {
|
||
TinyInput: Input
|
||
},
|
||
data() {
|
||
return {
|
||
input: '文字过长时会显示点点点,并且鼠标悬浮出现tip'
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style scoped>
|
||
.demo-input {
|
||
width: 150px;
|
||
}
|
||
|
||
.demo-input > * {
|
||
margin-bottom: 10px;
|
||
}
|
||
</style>
|