wx.navigateToMiniProgram 加了path 跳转后 空白页,没有显示,如果不加path,可以显示首页,即使加了首页的路径在path中,跳转后也是空白页,为什么呢?path路径错误?path: 'pages/index/home/main.html',
wx.navigateToMiniProgram 为什么加了path就不能打开?Why can't wx.navigateToMiniProgram be opened after adding path?
wx.navigateToMiniProgram 为什么加了path就不能打开?wx.navigateToMiniProgram 加了path 跳转后 空白页,没有显示,如果不加path,可以显示首页,即使加了首页的路径在path中,跳转后也是空白页,为什么呢?path路径错误?path: 'pages/index/home/main.html',
wx. Navigatetominiprogram adds path to jump to a blank page, which is not displayed. If you do not add path, you can display the home page. Even if the path with the home page is in the path, it is also a blank page after jump. Why? Path error? path: 'pages/index/home/main. html',
回答:
真是太感谢你们了!
path: '/pages/index/home/main',