If the data IDs are different, and there are multiple identical name values or multiple identical Title values, an error will be reported
just do it
<a-auto-complete
v-model="ruleForm.companyId"
placeholder="Please Input"
optionLabelProp="label"
@select="onSelect"
@change="onChangeStore"
>
<template slot="dataSource">
<a-select-option
v-for="item in dataSource"
:key="item.id"
:value="item.id + ''"
:label="item.name"
>
{{ item.name }}
</a-select-option>
</template>
</a-auto-complete>