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

安卓手机上,物理回退键怎么解决? #22

Open
pzPangZhen opened this issue Dec 21, 2018 · 1 comment
Open

安卓手机上,物理回退键怎么解决? #22

pzPangZhen opened this issue Dec 21, 2018 · 1 comment

Comments

@pzPangZhen
Copy link

No description provided.

@yujinjin
Copy link
Owner

yujinjin commented Dec 25, 2018

@pzPangZhen
具体看src/js/components/app-routers.js里的代码。
其物理回退建不会走vue 路由的的go、replace、push方法,也就是store.state.routerStatus.direction会为'',这种情况下就会认为是返回。

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