## 多选远程搜索选择器
<br />
可输入关键词进行远程搜索获取匹配选项，多选选择器

### 基本用法
通过`property`配置选择器，`remote-method`会在输入值发生变化时触发
:::demo 
```html

<template>
    {{value}}
    <ve-remote-check v-model="value" :remote-method="remoteMethod" :property="property"
                     placeholder="多选远程搜索选择器" />
</template>

<script>
    export default {
        data() {
            return {
                value : [ "classId" ],
                property : {
                    "label" : "className", 
                    "value" : "classId", 
                    "defaultData" : [ 
                        {
                            "className" : "className", 
                            "classId" : "classId"
                        } 
                    ]
                }
            }
        },
        methods: {
            remoteMethod(query) {
                if (query) {
                    // 异步获取
                    return new Promise(function (resolve, reject)
                    {
                        COMMONAPI.lcgClassList({
                            param : {
                                className : query, pageIndex : 0, pageSize : 15
                            },
                            success : function success(res) {
                                resolve(res.data || []);
                            }
                        });
                    });
                    // 同步获取
                    // return COMMONAPI.lcgClassListSync(query);
                }
                else {
                    return [];
                }
            }
        }
    }
</script>
```
:::



### Attributes

| 参数      | 说明          | 类型      | 可选值                                    | 默认值  |
|---------- |-------------- |---------- |--------------------------------------- |-------- |
| value | 绑定值 | Array | — | — |
| property | 配置项 | object | — | — |
| clearable | 是否可清空 | boolean | — | false |
| placeholder | 占位字符 | string | — | 请输入关键字 |
| remote-method | 远程搜索方法 | function | — | — |

### Events

| 事件名称 | 说明 | 回调参数 |
|---------- |-------- |---------- |
| change | 选中值发生变化时触发 | 当前选中值 |

