ant-design-vue/components/checkbox/demo/basic.md
2019-10-09 18:32:23 +08:00

332 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>