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

$router.go(-1) Not Working In Android mpaas webview #38

Open
RicoLiu opened this issue Jun 11, 2020 · 1 comment
Open

$router.go(-1) Not Working In Android mpaas webview #38

RicoLiu opened this issue Jun 11, 2020 · 1 comment

Comments

@RicoLiu
Copy link

RicoLiu commented Jun 11, 2020

路由模式为 Hash。
本地开发环境一切正常。
打包编译后,集成到 app 的 mpaas 容器中。进入二级页面后,发现 $router.go(-1) 会失效

@RicoLiu RicoLiu changed the title $router.go(-1) Not Working In Android Webview $router.go(-1) Not Working In Android mpaas webview Jun 11, 2020
@RicoLiu
Copy link
Author

RicoLiu commented Jun 11, 2020

VUE 构建的单页面应用,打包后集成到 mPaas 容器。顶部导航栏返回键调用了 router.go(-1),结果没有返回到上一级页面。debugger调试发现确实触发到了 router.go(-1) 事件。
本地调试时能够正常返回上一级页面

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

1 participant