You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/checkbox/demo/basic.md

25 lines
333 B

7 years ago
<cn>
#### 基本用法
简单的checkbox
</cn>
<us>
#### Basic
Basic usage of checkbox
</us>
```html
<template>
<a-checkbox @change="onChange">Checkbox</a-checkbox>
7 years ago
</template>
<script>
export default {
methods: {
onChange(e) {
console.log(`checked = ${e.target.checked}`);
},
7 years ago
},
};
7 years ago
</script>
```