Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何在tab页面使用this.$router.go(-1)? #24

Open
lufangzhou888 opened this issue Jun 14, 2019 · 1 comment
Open

请问如何在tab页面使用this.$router.go(-1)? #24

lufangzhou888 opened this issue Jun 14, 2019 · 1 comment

Comments

@lufangzhou888
Copy link

lufangzhou888 commented Jun 14, 2019

image
我在tab页面点击返回按钮,然后返回上一个tab页面
请问应该如何使用?谢谢

@F-loat
Copy link
Owner

F-loat commented Jun 14, 2019

小程序的 tabbar 都是同一层级的,tab 页只能互相切换 router.push({ path: '/pages/xxx', isTab: true })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants