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

没有手动获取摄像头和麦克风,但是在微信小程序发布的时候显示获取麦克风和摄像头 #11500

Closed
qingyggg opened this issue Mar 22, 2022 · 4 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@qingyggg
Copy link

相关平台

微信小程序

复现仓库

https://gitee.com/Mols2027/reamx-mp-fronted.git
小程序基础库: 2.23.1
使用框架: React

复现步骤

打包尝试发布一下

期望结果

在微信小程序发布的时候不应该显示获取麦克风和摄像头

实际结果

在微信小程序发布的时候显示获取麦克风和摄像头

环境信息


  Taro CLI 3.4.1 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.17 - C:\Users\zhong\AppData\Roaming\npm\yarn.CMD
      npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD


补充信息

仓库develop分支

@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Mar 22, 2022
@github-actions
Copy link
Contributor

@Shawn-zhao
Copy link

Shawn-zhao commented Apr 19, 2022

同样遇到这个问题,求官方赶紧解决

@lwyj123
Copy link

lwyj123 commented May 8, 2022

求赶紧解决 https://developers.weixin.qq.com/community/develop/doc/000ece06e602482cdafc5473f53400
看起来是打包出来的 base.wxml 之类的里面有相关的 template 使用了对应的标签导致的。。。。

@Chen-jj
Copy link
Contributor

Chen-jj commented May 10, 2022

@qingyggg 楼主的问题升级 taro-ui 到最新版本即可解决,目前 taro-ui 的最新版本是 3.1.0-beta.2,具体可以使用命令 npm info taro-ui 查看。

@Shawn-zhao @lwyj123 两位可以检查一下是否使用了 taro-ui,如果使用了则把它升级到最新版本。如还有问题就提供一下 demo 吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

4 participants