当前位置:网站首页>微信小程序相互跳转如何携带参数
微信小程序相互跳转如何携带参数
2022-08-10 03:19:00 【高先生的猫】
wx.navigateToMiniProgram({
// 要跳转的小程序的appid
appId: 'wx1b125bf4cf709150',
// 跳转的目标页面,参数可以在另外一个小程序的onLoad中通过options接收
path: `pages/index/index?p=${q}`,
// 传递给目标小程序的数据,为键值对的格式,数值的类型为字符串。目标小程序可在 App.onLaunch() 、 App.onShow() 中获取到这份数据。
extarData: {
open: 'auth'
},
success(res) {
// 打开成功
}
})
微信小程序相互跳转如何携带参数
边栏推荐
- 【CC3200AI 实验教程5】疯壳·AI语音人脸识别(会议记录仪/人脸打卡机)-定时器
- 实测办公场景下,国产远程控制软件的表现力如何?(技术解析)
- 小程序wxs
- @Autowired注解 --required a single bean, but 2 were found出现的原因以及解决方法
- 有关视频传输时粘包问题的一些解决方法
- Take you to an in-depth understanding of the version update of 3.4.2, what does it bring to users?
- flex 的 三个参数:flex-grow、flex-shrink、flex-basis
- Example 048: Number ratio size
- charles的功能操作
- goland控制台显示重叠问题解决方案
猜你喜欢
随机推荐
Did not detect default resource location for test class xxxx
Dynamic Web Development Fundamentals
二维空间下的向量旋转
electron 应用开发优秀实践
Evaluation and Construction of Enterprise Network Security Capability from the Sliding Ruler Model
请教各位confluence部署连接数据库成功,但是在后面建表设置的时候报错
【Verilog数字系统设计(夏雨闻)6-------模块的结构、数据类型、变量和基本运算符号2】
金融财经翻译的行业前景如何
goland控制台显示重叠问题解决方案
过水滑环的结构和工作原理
常用类以及接口
新零售社交电商APP系统平台如何打造公域+私域流量?
Kettle 裁剪表详解(truncate)
yolov5+usb相机
day17正则表达式作业
Software life cycle (the work of each phase of software engineering)
小程序导航及导航传参
量化投资学习——在FPGA上运行高频交易策略
NFG电商系统在元宇宙趋势下做什么?
...spread、命名空间、假报错、变化事件、async/await