mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 04:58:16 +08:00
318 B
318 B
#### 基本用法
简单的checkbox
#### Basic
Basic usage of checkbox
<template>
<a-checkbox @change="onChange">Checkbox</a-checkbox>
</template>
<script>
export default {
methods: {
onChange (e) {
console.log(`checked = ${e.target.checked}`)
},
},
}
</script>