问题模块 | 框架类型 | 问题类型 | API/组件名称 | 终端类型 | 操作系统 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|---|---|
API和组件 | 小程序 | 需求 | navigator | 客户端 | 6.6.5 | 1.9.1 |
在调用接口的时候,这时候页面显示loading.
这时候点击顶部导航的返回按钮,页面后退,而接口正在调用中。。。。。
- 希望提供的能力
在调用接口处理完毕之前,怎样才能让返回按钮不能点击或者失效
网友回复
You can you up:
navigationStyle | String | default | 导航栏样式,仅支持 default/custom。custom 模式可自定义导航栏,只保留右上角胶囊状的按钮 |
https://developers.weixin.qq.com/miniprogram/dev/framework/config.html