next/components/story/atoms/test1.vue

16 lines
435 B
Vue
Raw Normal View History

<template>
<a-select
mode="multiple"
style="width: 100%"
placeholder="Please select"
2023-12-29 20:53:29 -05:00
: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>