Taro.navigateTo()在android跳转失败



  • let id = href
        id = id.replace(/#/g, '');
        let url = combineUrlQuery(config.page.topicDetail, {id}, false)
        console.log('url-parse', url)
        Taro.navigateTo({
          url: url,
          success: res => {
            console.log('res', res)
          },
          complete: res => {
            console.log('res-complete', res)
          }
        })
    

    cbfc74ad-2481-48b5-b491-6825cbdc8bd3-image.png
    Taro.navigateTo()回调方法success方法显示成功,但没有打开页面,页面也没有接受到传递的参数


登录后回复