tiny-vue/examples/sites/demos/mobile-first/app/search/change-events.vue

19 lines
280 B
Vue

<template>
<tiny-search @change="change"></tiny-search>
</template>
<script>
import { Search, Modal } from '@opentiny/vue'
export default {
components: {
TinySearch: Search
},
methods: {
change(key, value) {
Modal.message(`${value}`)
}
}
}
</script>