languanghao
languanghao
Still get this problem in kotin suspend function
Knockout validation register it when you call ko.applyBindings(). In your code, you reset the customer as a new NewCustomer(), this new object not register by knockout validation.
I also find a workaround, just use `defineProps(ComplexType)` instead of `defineProps`. Even the `ComplexType` is imported from other file, it works fine.
@goo-yyh 请问需要装什么插件?我用的webpack,不是vite  
@goo-yyh https://github.com/languanghao/vant-webstorm 代码文件: src/h5/App.vue 
@goo-yyh 抱歉,有个配置写错了,现在可以跑起来了 webstorm 版本: 
@chenjiahan 问题并没有解决,webstorm还是会提示类型错误
@goo-yyh 可能是webstorm的问题,不过同一个项目里引入的element-plus就不会有这个问题
@goo-yyh 所以到底是webstorm的问题还是vant的问题?
Try ``