<template>
  <div class="demo-select-key">
    <ui-select
      v-model="value"
      :options="options"
      :keymap="{
        value: 'id'
      }"></ui-select>
  </div>
</template>
<script>
import { Select } from "amumu-ui"
export default {
  components: {
    "ui-select": Select,
  },
  data() {
    return {
      value: "1",
      options: [
        { label: "选项1", id: "1" },
        { label: "选项2", id: "2" },
        { label: "选项3", id: "3" },
        { label: "选项4", id: "4", disabled: true },
      ],
    }
  },
}
</script>
