Closed shallow-time closed 1 year ago
升级到1.0.16
版本可解决该问题
升级到
1.0.16
版本可解决该问题vue: 3.2.36 版本,vue3-country-intl: 1.0.16 版本。依旧存在设置默认区号为美国,不显示问题,看下你这边vue版本是多少,确认下是不是vue版本导致的。
我用3.2.36
版本的vue
也是可以的
你新创建一个vue3
项目,在新项目里使用vue3-country-intl
组件看有没有效果
scheme = input,type = phone,设置默认iso2为'us', 默认区号为‘1’,期望实现效果默认选择的是美国区号,实际却是不显示。
代码:
效果显示:未成功显示期望的默认区号