<template>
  <s-check-group v-model="check"
                 mode="checkbox"
                 :options="options"
  />
  <s-check-group v-model="tag"
                 mode="tag"
                 :options="options"
  />
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const check = ref()
const radio = ref()
const tag = ref()
const options = [
  {
    label: '分组1',
    options: [
      {
        label: '折线图',
        value: 'line'
      },
      {
        label: '柱状图',
        value: 'bar'
      },
      {
        label: '饼图',
        value: 'pie'
      },
      {
        label: '雷达图',
        value: 'radar'
      },
      {
        label: '散点图',
        value: 'scatter'
      }
    ]
  }
]
</script>

<style lang="scss" scoped>
</style>
