Applet jumps to another applet

I encountered this when I was working on the taro project, so taro can also be used

  1. Add navigateToMiniProgramAppIdList to app.js config to configure the
    id of the mini program you want to jump to
navigateToMiniProgramAppIdList: [
      "wx328" 
    ],

2. Then jump through the event

wx.navigateToMiniProgram({
  appId: '',
  path: 'page/index/index?id=123',
  extraData: {
    foo: 'bar'
  },

Unfair look at the document here

Guess you like

Origin blog.csdn.net/weixin_45663264/article/details/115028587