forked from opentiny/tiny-vue
24 lines
373 B
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>
|