当前位置:网站首页>Uniapp navigateto jump failure

Uniapp navigateto jump failure

2022-07-05 01:53:00 yanlei233

problem : In use today uniapp Of navigateTo When realizing jump , I found that some pages can jump successfully , Some pages never respond ?
solve : Because the pages that failed to jump are tabbar page , Check the materials and documents and find , The code jumps to tabbar page ,api Only use uni.switchTab, Out of commission uni.navigateTo、uni.redirectTo; Use navigator Must be set when component jumps open-type=“switchTab”, Take a note of .
Document links :https://uniapp.dcloud.io/collocation/pages?id=tips-tabbar

原网站

版权声明
本文为[yanlei233]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202141008358449.html