wx.openSetting,打不开设置页面

小程序 文章 2022-03-01 17:40 801 0 全屏看文

AI助手支持GPT4.0

wx.openSetting,打不开设置页面wx.openSetting, can't open the settings page

wx.openSetting,打不开设置页面
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.openSetting,打不开设置页面 工具 最新 最新

wx.openSetting,打不开设置页面。

比如我们有个页面,需要上传功能,用户点击了按钮,弹出授权信息,不小心点击了拒绝,这时候再点击按钮,调用了wx.openSetting方法,但是却没有跳转到相应的页面,按理说,我调用这个方法,就应该正常打开设置页面。

要不然用户会一直没法进行拍照操作,形成一个BUG。

相同的代码,我在Taro上却能正常调用起来,但是在微信原生上却不行,这个有办法处理吗。

Framework type problem type API / component name terminal type wechat version basic library version applet bug Wx Opensetting, unable to open the latest Wx Opensetting, unable to open the setting page. For example, we have a page that needs to be uploaded. The user clicks the button and the authorization information pops up. He accidentally clicks reject. At this time, he clicks the button and invokes Wx Opensetting method, but it does not jump to the corresponding page. Logically, if I call this method, I should open the setting page normally. Otherwise, the user will not be able to take photos and form a bug. I can call the same code normally on taro, but not on wechat native. Is there a way to deal with this.

回答:

社区技术运营专员-CJiang:

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

前端喵:

Taro.openSetting()能正常调用

brave:

提供下可以复现问题的代码片段 https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
微信小程序绑定的域名,过期续费后无法正常使用?
微信商店管理小程序如何取消和注销?
13pro布局错乱?
navigation跳到一个webview页面 怎么去掉小程序左上角的返回按钮?
我真的是服了,我明明按照小程序注册流程走的,注册完后,创建项目却发现小程序id变成了小游戏id?
随便看看
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4799
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793