picker-for-Apache-Weex
picker-for-Apache-Weex copied to clipboard
picker for Apache Weex is a third party plugin, and is not developed nor maintained by Apache Weex.
当选项超过一个屏幕就会出现这种问题,默认勾选或者选择的都会出现好几个默认选中。
1: 给pick增加index 默认选中, 当选中index=1之后再次重新选择,调用pick方法时,报错 index.js:2 Uncaught TypeError: Cannot read property 'x' of undefined 
### 复现 需要三端同时支持 `picker`,因此手动在组件内部引入了 `weex-picker`。 引入方式 : ```javascript import '../../node_modules/@weex-project/weex-picker/js/build/index.js'; const picker = weex.requireModule('picker'); export default { }) ``` ### 问题 web 平台使用没有问题,在 native 上抛出错误如下: ```bash 18: 2018-07-31 16:22:44.209 WeexDemo...
在哪里引入