You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
576 B

4 years ago
<template>
<div class="mt-3">
<!-- 多选 -->
<a-select mode="multiple" :default-value="defaultValue" style="width: 100%" placeholder="请选择成员" @change="handleChange">
<a-select-option v-for="i in 25" :key="(i + 9).toString(36) + i">
{{ (i + 9).toString(36) + i }}
</a-select-option>
</a-select>
</div>
</template>
<script>
export default {
data() {
return {defaultValue: [],};
},
methods: {
handleChange(value) {
console.log(`selected ${value}`);
},
},
};
</script>
<style lang="less" scoped>
</style>