forked from opentiny/tiny-vue
15 lines
344 B
Vue
15 lines
344 B
Vue
<template>
|
|
<tiny-numeric v-model="value" @blur="onBlur"></tiny-numeric>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
import { Numeric as TinyNumeric, Modal } from '@opentiny/vue'
|
|
|
|
const value = ref(1)
|
|
|
|
const onBlur = (event: FocusEvent) => {
|
|
Modal.message({ message: `${event.type} 事件`, status: 'info' })
|
|
}
|
|
</script>
|