<template>
<Row>
<Col span="12">
<Select ref="selectName" v-model="model14" multiple filterable remote :remote-method="remoteMethod2"
:loading="loading2" @on-change="onChange" @on-query-change="handleSelectChange">
<Option v-for="(option, index) in options2" :value="option.value" :key="index">{
{option.label}}</Option>
</Select>
</Col>
</Row>
</template>
<script>
export default {
data() {
return {
model14: [],
loading2: false,
options2: [],
name: '',
list: ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware',
'Florida', 'Georgia', 'Hawaii', 'Idaho', 'Illinois', 'Indiana'
iview select多选远程搜索,不清空关键字
于 2022-04-13 10:37:11 首次发布