languanghao

Results 12 comments of 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 ![image](https://user-images.githubusercontent.com/3765379/172133564-d44975da-0837-4389-be45-bda78ff4ecb8.png) ![image](https://user-images.githubusercontent.com/3765379/172133595-b1dc4c75-c2f5-426e-bedf-024bb851e582.png)

@goo-yyh https://github.com/languanghao/vant-webstorm 代码文件: src/h5/App.vue ![image](https://user-images.githubusercontent.com/3765379/172274851-832f6a1a-ae80-4cdd-94fe-c50eca31eba1.png)

@goo-yyh 抱歉,有个配置写错了,现在可以跑起来了 webstorm 版本: ![image](https://user-images.githubusercontent.com/3765379/172287218-dd553aa6-fc1b-41cf-85ae-1a713d7e396d.png)

@chenjiahan 问题并没有解决,webstorm还是会提示类型错误

@goo-yyh 可能是webstorm的问题,不过同一个项目里引入的element-plus就不会有这个问题

@goo-yyh 所以到底是webstorm的问题还是vant的问题?