MPComponent / mpvue-picker

基于 mpvue 框架的小程序选择控件,支持单列,多列,联动。
MIT License
172 stars 77 forks source link

直接复制mpvue-picker.vue代码到项目,uni-app编译到手机上报错 #29

Closed zhengxueqi closed 5 years ago

zhengxueqi commented 5 years ago

报一大堆错误 可能和es6之类的转译有关。Hello uni-app 项目中的这个组件复制引用没问题

KuangPF commented 5 years ago

mpvue-picker.vue 为插件的源文件,你可以运行下项目中的 demo,参考:https://github.com/MPComponent/mpvue-picker/issues/24#issuecomment-471154977

zhengxueqi commented 5 years ago

好的。所以还是用Hello项目中的现成的组件为好。