Picker component not working.

面板小程序开发相关产品技术讨论,包括面板小程序、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
Mywatt Dev
Posts: 7

  • Tuya MiniApp Tools version information: 0.5.15

  • The versions of @ray-js/ray: 1.4.45, @ray-js/panel-sdk: 1.10.0

  • Mobile device information: Andriod

  • Related code:
    With this code the screen is completely blank.

    Screenshot from 2024-04-13 12-17-45.png
  • I have also tried. But I get error stating TimePicker is not available.

    WhatsApp Image 2024-04-10 at 17.55.10.jpeg
User avatar
智能小程序管理员
Posts: 45

Re: Picker component not working.

截屏2024-04-13 16.36.38.png
Mywatt Dev
Posts: 7

Re: Picker component not working.

I used the code changes suggested. But, the entire screen goes blank. Please help.

WhatsApp Image 2024-04-15 at 11.58.38.jpeg
WhatsApp Image 2024-04-15 at 11.59.25.jpeg
WhatsApp Image 2024-04-15 at 12.17.07.jpeg
智能小程序开发者
Posts: 137

Re: Picker component not working.

May I ask which template you are using on the IDE and whether there is an error message

智能小程序开发者
Posts: 137

Re: Picker component not working.

Could you please send package.json to us for a look

sansan
Posts: 4

Re: Picker component not working.

Mywatt Dev
Posts: 7

Re: Picker component not working.

package.json.txt
(1.31 KiB) Downloaded 13 times
noyobo
Posts: 13

Re: Picker component not working.

  1. Exit the IDE
  2. Delete the devMode field in project.tuya.json
  3. Start npm run start in the terminal command line
    3.1 By the way, please also provide feedback on the log information of npm run start.
  4. Reopen the IDE

Try this, if there is still a problem, send the log file

Post Reply