Open dingly opened 6 years ago
请问怎么添加这个H5的pick模块
同样问题
同样如何添加h5的picker模块
Uncaught TypeError: Cannot read property 'pick' of undefined at Vue.pickSex (index.vue?a913:199) at weex$tap (index.vue?e265:45) at invoker (vue.runtime.esm.js?ff9b:2023) at HTMLParagraphElement.fn._withTask.fn._withTask (vue.runtime.esm.js?ff9b:1822) at fireEvent (gesture.js?6a15:87) at HTMLHtmlElement.touchendHandler (gesture.js?6a15:387)
解决了,这里picker里的index所需类型是数组
picker.pick { index: [defalutIndex] }
解决了,这里picker里的index所需类型是数组
picker.pick { index: [defalutIndex] }
正解,谢谢
1: 给pick增加index 默认选中, 当选中index=1之后再次重新选择,调用pick方法时,报错 index.js:2 Uncaught TypeError: Cannot read property 'x' of undefined