Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引入京东小程序直播插件页面白屏 #10128

Closed
jiekekeji opened this issue Aug 26, 2021 · 3 comments
Closed

引入京东小程序直播插件页面白屏 #10128

jiekekeji opened this issue Aug 26, 2021 · 3 comments
Labels
F-vue2 Framework - Vue 2 T-jd Target - 编译到京东小程序 V-3 Version - 3.x

Comments

@jiekekeji
Copy link

相关平台

京东小程序

复现仓库

https://github.com
小程序基础库: 京东app 10.1
使用框架: Vue 2

复现步骤

在 app.config.ts 中引入京东直播插件

"plugins": {
"myPlugin": {
"version": "1.1.8",
"provider": "jdedaa5a6bfeb05919"
}
},

运行小程序, 打开第一屏白屏

期望结果

能正常引入插件, 能正常直播

实际结果

在 app.config.ts 中引入直播插件后,运行吧,白屏

环境信息


� Taro v3.2.1


  Taro CLI 3.2.1 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.16.1 - C:\Program Files\nodejs\node.EXE
      npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD


@taro-bot2 taro-bot2 bot added F-vue2 Framework - Vue 2 T-jd Target - 编译到京东小程序 V-3 Version - 3.x labels Aug 26, 2021
@Chen-jj
Copy link
Contributor

Chen-jj commented Sep 1, 2021

提供一下完整 demo

@jiekekeji
Copy link
Author

提供一下完整 demo

demo地址: https://gitee.com/jiekekeji/taro-jd-demo.git

目录下有: 京东直播插件引入文档

另外京东的手机号授权也没有回调, 之前提过issue, 没解决

@Chen-jj
Copy link
Contributor

Chen-jj commented Oct 25, 2021

使用京东小程序插件时,京东小程序环境不支持 Set。因此对 Set 做 polyfill 应该就可以。

@Chen-jj Chen-jj closed this as completed Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 T-jd Target - 编译到京东小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

2 participants