这两个筛选我是用的同一个

picker-view在canvas里面,值是通过js传进去的,当我点第一个区域的时候当我点第二个地铁的时候

,以上都是正常的,不正常的是当我选择区域的时候再选择地铁的时候再回去点区域的时候就不正常了显示的是

,然后我打开调试

他数据其实是有的但是他的所有行高都变成了0px 我的视图代码

{{item}}
{{item}}
微信小程序开发问题解答
微信小程序开发者回答:
最好提供一下能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),方便大家帮你看问题。
微信小程序开发者回答:
你好,我不太会弄,上次有个人提了我整了半天没弄明白,我这个问题解决了,原来setData不能分开写,我放一起写就好了,正常了
本文网址:http://www.91bianli.com/kaifazhinan/76570.html