arco-design / arco-design-vue

A Vue.js 3 UI Library based on Arco Design
https://arco.design/vue
MIT License
2.7k stars 532 forks source link

Select 组件的 options 属性可以展示但无法选择;Select 组件 v-model:model-value 写法数据异常 #1957

Open rtpacks opened 1 year ago

rtpacks commented 1 year ago

Basic Info

Steps to reproduce

  1. 最近使用 select 组件,发现 select 组件的 options 属性可以展示,但是无法选择,使用子组件 形式则可以选择
<a-select
  v-model="form.groupIds"
  :placeholder="$t('phishing.receiver.form.groupIds.placeholder')"
  multiple
  scrollbar
>
  <a-option
    v-for="option in tagOptions"
    :key="option.label"
    :label="option.label"
    :value="option.value"
  ></a-option>
</a-select>
  1. select 组件的 v-model:model-value="form.emails" 写法会有问题,数据异常,简写成 v-model=“form.emails” 则正常
yymjku18 commented 1 year ago

https://codesandbox.io/s/heuristic-banach-b803wj?file=/src/App.vue 貌似没啥问题啊,复现一下一起研究研究