<template>
  <div>
    <h1>选择标签示例</h1>
    <XLabelSelect
      :options="options"
      v-model="selectedOption"
      label="请选择一个选项"
    />
    <p>选中的选项: {{ selectedOption }}</p>
  </div>
</template>

<script>
import XLabelSelect from '@vue2-client/base-client/components/common/XLabelSelect/XLabelSelect.vue'

export default {
  components: {
    XLabelSelect,
  },
  data () {
    return {
      selectedOption: null,
      options: [
        { value: 'option1', label: '选项 1' },
        { value: 'option2', label: '选项 2' },
        { value: 'option3', label: '选项 3' },
      ],
    }
  },
}
</script>

<style scoped>
/* 添加样式 */
</style>
