vant-weapp value: expected < String> but get null value. Use empty string instead.

yyhrrdl8  于 2022-10-22  发布在  Vant
关注(0)|答案(2)|浏览(1434)

版本

vantWeapp 1.10.5

调用代码

错误日志

[Component] property "value" of "miniprogram_npm/@vant/weapp/field/index" received type-uncompatible value: expected but get null value. Use empty string instead.
调用组件的界面是能正常显示和使用的,只是太多的这种日志看着有点烦

开发工具

微信开发者工具

ao218c7q

ao218c7q1#

我也遇到相同的问题,请问解决了吗

t3psigkw

t3psigkw2#

手动修改源码中的search组件,props属性中添加了value: String就好了,希望官方能在下个版本中更新优化一下…

2022年9月24日 10:20,chenjiajun***@***.******@***.***>> 写道: 我也遇到相同的问题,请问解决了吗 — Reply to this email directly, view it on GitHub <#5044 (comment)>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AFT5EHPAJMXR6OVYVDKFO6DV7ZQQDANCNFSM6AAAAAAQQTAJDY >. You are receiving this because you authored the thread.

相关问题