search

Home  >  Q&A  >  body text

javascript - Why does the WeChat applet picker become two lines?

The picker selector is used in the WeChat applet. If the picker is written in a view, the picker style will be displayed in two lines.

<view class="pickergroup">
<picker bindchange="ChooseWolfNumber" value="{{wolfIndex}}" range="{{area_wolf}}">
Number of wolves: {{area_wolf[wolfIndex]}}
</picker>>
</view>

Why do multiple pickers affect each other? For example, if 3 is selected in the first selector, will the remaining selectors start from the 3rd one by default?

怪我咯怪我咯2739 days ago823

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-06-26 11:00:04

    This problem will not occur when testing on a mobile phone.

    reply
    0
  • 扔个三星炸死你

    扔个三星炸死你2017-06-26 11:00:04

    Take a good look at your code. . . . More than one > is good. . .

    reply
    0
  • 怪我咯

    怪我咯2017-06-26 11:00:04

    As mentioned above, you will find the problem if you take a good look at the code style!

    reply
    0
  • Cancelreply