mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
19 lines
297 B
Vue
19 lines
297 B
Vue
<template>
|
|
<div>
|
|
<a-checkbox @change="onChange">Checkbox</a-checkbox>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { Checkbox } from 'antd'
|
|
export default {
|
|
methods: {
|
|
onChange (e) {
|
|
console.log(`checked = ${e.target.checked}`)
|
|
},
|
|
},
|
|
components: {
|
|
Checkbox,
|
|
},
|
|
}
|
|
</script>
|