<template>
  <div class="point">
    <div class="point-label">
      <template v-for="module in props.tree" :key="module.key">
        <Checkbox @change="emits('selectCheckbox', module)" :value="module.key">{{ module.slotTitle }} </Checkbox>
      </template>
    </div>
  </div>
</template>
<script setup>
  import { Checkbox } from 'ant-design-vue';
  const props = defineProps({
    tree: {
      type: Array
    },
    index: {
      type: Number,
      default: 0
    }
  });
  let emits = defineEmits(['selectCheckbox']);
</script>
<style scoped lang="less"></style>
