tiny-vue/examples/sites/demos/mobile-first/app/numeric/focus-event.vue

24 lines
373 B
Vue

<template>
<tiny-numeric v-model="value" @focus="Efocus"></tiny-numeric>
</template>
<script>
import { Numeric, Modal } from '@opentiny/vue'
export default {
components: {
TinyNumeric: Numeric
},
data() {
return {
value: 1
}
},
methods: {
Efocus() {
Modal.message({ message: 'focus 事件', status: 'info' })
}
}
}
</script>