941477276 / vue3-country-intl

基于vue3的国际化的国籍/手机区号组件!
30 stars 3 forks source link

search="true" #5

Closed news00 closed 1 year ago

news00 commented 1 year ago

搜索之后再选择,会出现选不中要选择的项,怀疑是事件委托的问题

941477276 commented 1 year ago

可以录个屏看下吗?及贴下你的代码

news00 commented 1 year ago

https://user-images.githubusercontent.com/25659337/202097171-5cb1c06e-8f76-45f0-970c-76d1665671b7.mp4

news00 commented 1 year ago

不搜索,直接选,是很少出现这个问题的

news00 commented 1 year ago

<Vue3CountryIntl type="country" v-model="code" :useChinese="lang === 'zhCn'" :showAreaCode="true" :showSelectedText="false" :searchAble="true" @onChange="selectHandle" :placeholder="$t('el.select.placeholder')" /> 代码就是这样的

941477276 commented 1 year ago

代码更新了,升级到1.0.15试试

news00 commented 1 year ago

好像可以了,我测试一下

------------------ 原始邮件 ------------------ 发件人: "941477276/vue3-country-intl" @.>; 发送时间: 2022年11月17日(星期四) 上午9:16 @.>; @.**@.>; 主题: Re: [941477276/vue3-country-intl] search="true" (Issue #5)

代码更新了,升级到1.0.15试试

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>