view-design / ViewUI

A high quality UI Toolkit built on Vue.js 2.0
https://www.iviewui.com/
Other
2.65k stars 797 forks source link

[Bug Report]Select allow-create 属性 bug #926

Closed wonailmy closed 3 years ago

wonailmy commented 3 years ago

Environment

vue-version:2.6.11

Reproduction link

https://dev.iviewui.com/issues/1409469067294806016

Steps to reproduce

使用下拉组件时,组件配置了allow-create(允许自定词汇)。当Option为空数组时候,第一次创建的词汇无法选中,第二次就可以。

What is expected?

Option为空时第一次也能选中自定义词汇

What is actually happening?

Option为空时第一次无法选中自定义词汇