当前位置:网站首页>微信小程序 关闭当前页面
微信小程序 关闭当前页面
2022-06-10 14:11:00 【yechaoa】
wx.navigateBack(Object object)
关闭当前页面,返回上一页面或多级页面。
wx.navigateBack({
delta: 1
})接收一个参数delta,即返回的页数,默认是1,即返回上一页,所以也可以省略
wx.navigateBack({})wx.redirectTo(Object object)
关闭当前页面,跳转到应用内的某个页面。但是不允许跳转到 tabbar 页面。
wx.redirectTo({
url: '../index/index'
})微信小程序 返回上一页并传参
边栏推荐
- Flutter 页面跳转 传参,TabBar学习总结5
- Leetcode-56-merge interval
- Allan variance and random error identification
- 【离散数学期复习系列】一、命题逻辑
- 2022年制冷与空调设备运行操作理论题库模拟考试平台操作
- 【離散數學期複習系列】二、一階邏輯(謂詞邏輯)
- Recyclerview multi layout writing method, "my" and "personal center" page classic writing method demonstration
- 【重庆大学】初试复试资料分享(附考研群)
- For the first time, the Pentagon admitted to funding 46 biological facilities in Ukraine. Russia once revealed that only three were safe
- 【原创】POI 5.x XSSF和HSSF使用自定义字体颜色
猜你喜欢

40 necessary methodologies for large factories

618. How to prepare for the great promotion

22.6.7成功使用doc2vec模型生成嵌入向量
![[discrete mathematics review series] i. propositional logic](/img/ae/7f062cfa416a26be3d32dfb1353c80.png)
[discrete mathematics review series] i. propositional logic

CVPR 2022 | 基于序列对比学习的长视频逐帧动作表示

【大咖秀】博睿数据眼中的AIOps,选择正确的赛道正确的人
![[FAQ] summary of common problems and solutions during the use of rest API interface of sports health service](/img/ff/96a0a77795b271bef3a8ade2d646c3.png)
[FAQ] summary of common problems and solutions during the use of rest API interface of sports health service

Singleton pattern and special class design
![[big guy show] aiops in the eyes of Borui data, choosing the right track and the right people](/img/ea/740b877b5330a42065b5c5df0d9888.jpg)
[big guy show] aiops in the eyes of Borui data, choosing the right track and the right people

How to build Haojing technology when the computing power network is brought into reality?
随机推荐
How to solve the problem that vmware tools are grayed out when VMware Workstation is installed
在启牛开户安全么
About native SQL and database methods in PHP framework
Leetcode-57- insert interval
Analysis on the use of coordinatorlayout
Gorm设置外键
C # list of shallow copy and deep copy customized classes <>
Use of 5.8G microwave radar module, working principle and introduction of 5.8G microwave radar module
[notes] notes on C language array pointer, structure + two-dimensional array pointer
二叉树和图1
QT 基于QScrollArea的界面嵌套移动
[discrete mathematics review series] v. some special charts
【解决】每次加载已经训练好的模型,生成的向量会有不同
什么是CAS 以及 CAS 中的 ABA 问题
单例模式和特殊类设计
初学者自己搭建博客的设计工具和技巧
How to build Haojing technology when the computing power network is brought into reality?
Flutter drawer学习总结6
[advanced MySQL] optimize SQL by using the execution plan explain (2)
Primary master-slave table integration process development process