Skip to content

ASelectEx 扩展 Select

代码演示

基本用法
对下拉菜单进行自由扩展
vue
<template>
  <a-select-ex
    :options="['CIS', 'AMI', 'MDM']"
    v-model:value="selectValue"
    placeholder="请选择"
    inputPlaceholder="请输入"
    style="width: 200px"
  >
  </a-select-ex>
</template>

<script setup lang="ts">
import { ref } from "vue";
const selectValue = ref();
</script>

API

参数说明类型默认值
options预置下拉选项string[]-
placeholder占位符string-
inputPlaceholder输入框占位符string-