vonic
vonic copied to clipboard
Datapicker not working (v-model does not bind)
Create project using vonic-webpack-starter. As follows;
main.js

index.vue

No problem when I run the project with the command "npm run dev".
page

Binds ok.
However, when I build with the "npm run build" command, the Datepicker does not work. Datepicker does not bind. I could not find a solution. What is your recommendation?
我是用input组件也绑定不了值 可能双向绑定的地方都有问题 后来我解决绝了 可参考 是版本的问题 大家可以看开发环境下使用的版本,然后将index.tpl.html中的版本更换为与package-lock.json中vonic依赖的库版本文件保持一致即可。
请问解决了吗,我也遇到了,换成哪个版本号呢