next/components/story/atoms/test1.vue

18 lines
442 B
Vue

<template>
<a-select
mode="multiple"
style="width: 100%"
placeholder="Please select"
:options="
[...Array(25)].map((_, i) => ({ value: (i + 10).toString(36) + (i + 1) }))
"
@change="handleChange"
></a-select>
</template>
<script lang="ts" setup>
import { SelectValue } from "ant-design-vue/es/select";
import { ref } from "vue";
const handleChange = (value: SelectValue) => {};
const value = ref(["a1", "b2"]);
</script>