NervJS / taro-ui

一款基于 Taro 框架开发的多端 UI 组件库
https://taro-ui.taro.zone
MIT License
4.52k stars 756 forks source link

使用 taro-ui 开发的微信小程序不支持 PC 端打开方式 #807

Open yincw opened 4 years ago

yincw commented 4 years ago

问题描述

使用 taro-ui 开发的微信小程序不支持使用微信 PC 客户端打开方式(微信 PC 端 v2.7.1.65 支持)

复现步骤

1)微信小程序官方组件展示小程序 支持 PC 客户端打开方式(https://developers.weixin.qq.com/miniprogram/dev/demo.html) 2)基于 Taro 开发的(没用 taro-ui) taro-msparis 小程序 支持 PC 客户端打开方式(https://github.com/EasyTuan/taro-msparis) 3)Taro UI 官方示例小程序 不支持 PC 客户端打开方式(https://taro-ui.jd.com/#/docs/introduction

可通过使用手机微信扫码以上描述括号内的地址的二维码进入,转发到微信 PC 客户端测试

期望行为

基于 taro-ui 开发的微信小程序能够支持 PC 端打开方式

报错信息

微信 PC 端无法调试

系统信息

taro-ui-bot[bot] commented 4 years ago

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

Issacpeng commented 4 years ago

通过官网的步骤,在windows10 PC上可以正常启动,无法复现你说的问题哦,见截图: image

官网demo指导link:https://github.com/NervJS/taro-ui-demo

yincw commented 4 years ago

@Issacpeng 我说的是通过PC 版微信打开微信小程序哦(PC 版微信 v2.7.1.65 支持),不是指通过 PC 版微信开发者工具打开微信小程序

KexyBiscuit commented 4 years ago

Reproduced with WeChat for Windows 2.7.1.43, the Taro UI Mini Program always shows blank screen after the splash screen.

taro-ui-bot[bot] commented 4 years ago

CC @koppthe

mytharcher commented 3 years ago

同样的问题,我们的小程序可以打开,但无法加载数据导致空白,没有使用 Taro-UI。怀疑是 PC 版微信某些接口有问题。

MikuZZZ commented 3 years ago

同样的问题。vConsole里报错是

app-service.js: TypeError: Cannot read property 'customVersion' of undefined