当前位置:网站首页>Wechat applet jumps to other applets
Wechat applet jumps to other applets
2022-07-25 10:09:00 【A cabbage~】
The way 1: navigator
send ⽤ Components ,app-id Attributes need to be in the configuration list
<navigator target="miniProgram" open-type="navigate" app-id="" path="" version="release"></navigator>
The way 2: wx.navigateToMiniProgram
Use wx.navigateToMiniProgram And configure parameters
wx.navigateToMiniProgram({
appId: '',
path: 'page/index/index?id=123',
extraData: {
// Parameters
foo: 'bar'
},
envVersion: 'develop', // develop Development Edition trial Experience version release Official version
success(res) {
// Open the success
}
})
Usage restriction
The user needs to trigger the jump
- from 2.3.0 Version start , If the user does not click anywhere on the applet page , The developer will not be able to call this interface and will automatically jump to other applets .
The user needs to confirm the jump
- from 2.3.0 Version start , Before jumping to another applet , Pop ups will be added uniformly , Ask whether to jump , Users can jump to other applets only after confirmation . If the user clicks cancel , Then callback fail cancel.
There is no need to declare the jump list , Unlimited number of jumps ( Public testing )
- from 2020 year 4 month 24 The date of , Using jump to other applet functions will eliminate the need to declare the jump list in the global configuration , When calling this interface, the skipped AppID Whether in navigateToMiniProgramAppIdList in .
- from 2020 year 4 month 24 The date of , Jumping to other applets will no longer be limited in number , Please observe the operation specifications when using this function .
边栏推荐
猜你喜欢

GCD详解

VS无线振弦采集仪蓝牙功能的使用

工程仪器振弦传感器无线采集仪的采集数据发送方式及在线监测系统

Exciting method and voltage of vibrating wire sensor by hand-held vibrating wire acquisition instrument

ROS分布式操作--launch文件启动多个机器上的节点

Configuring ROS development environment with vscode: Causes and solutions to the problem of ineffective code modification

Temperature, humidity and light intensity acquisition based on smart cloud platform

nodejs链接mysql报错:ER_NOT_SUPPORTED_AUTH_MODEError: ER_NOT_SUPPORTED_AUTH_MODE

VScode配置ROS开发环境:修改代码不生效问题原因及解决方法

Store to-do items locally (improve on to-do items)
随机推荐
小程序调起微信支付
Internal structure of SOC chip
线程池的设计和原理
RedisUtil
Qt 6.2的下载和安装
车辆属性最近一次入库时间初始化生成sql脚本文件
TM1638 LED数码显示模块ARDUINO驱动代码
Introduction to testbench
ESP32定时中断实现单、双击、长按等功能的按键状态机Arduino代码
SystemVerilog语法
See how a junior student of double non-2 (0 Internship) can get an offer from Alibaba and Tencent
一.初始MySQL,MySQL安装、配置环境、初始化
Armv8 datasheet learning
nodejs链接mysql报错:ER_NOT_SUPPORTED_AUTH_MODEError: ER_NOT_SUPPORTED_AUTH_MODE
Record some JS tool functions
Mlx90640 infrared thermal imaging sensor temperature measurement module development notes (III)
Common methods of JS digital thousand bit segmentation
js数字千位分割的常用方法
CCF 201512-3 drawing
安装 oh my zsh