Using the (Tabbar tab) component of the vantUI framework, a fixed footer navigation was developed:
My instructions:
- Login page
/login
- After successful login, enter the homepage
/
- Then select the homepage footer navigation, personal center
/personal
I found that when I clicked the back button in the personal center, I was directly returned to the login page. Why?
Reason analysis (source code analysis):
- After the source code view (navigation component corresponding to the project file
【代码如下】
) and official explanations vantUI components , the original is because of the use keyword:replace (是否在跳转时替换当前页面历史)
led historical record routing page was replaced. So when the browser clicks to return, it will return directly to the login page. <