mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
22 lines
310 B
Vue
22 lines
310 B
Vue
|
<template>
|
||
|
<Search
|
||
|
placeholder="input search text"
|
||
|
style="width: 200px"
|
||
|
@search="onSearch"
|
||
|
/>
|
||
|
</template>
|
||
|
<script>
|
||
|
|
||
|
import { Input } from 'antd'
|
||
|
export default {
|
||
|
methods: {
|
||
|
onSearch (value) {
|
||
|
console.log(value)
|
||
|
},
|
||
|
},
|
||
|
components: {
|
||
|
Search: Input.Search,
|
||
|
},
|
||
|
}
|
||
|
</script>
|