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

线上环境点击子应用内部路由跳转,浏览器参数会无限叠加 #1407

Open
shuixiaobin opened this issue Oct 15, 2024 · 0 comments

Comments

@shuixiaobin
Copy link

shuixiaobin commented Oct 15, 2024

问题描述

默认路由模式下,

开发环境是好的;
比如在这个路径下
https://bbb/index/fullApp?page=/h5/pc/addressBook/index/student/index&addressBook=/student/index/
点击addressBook应用内页面内部再次跳转后浏览器参数,&addressBook=/student/index/ 变成 &addressBook=/major/index

问题是,线上环境子应用内部跳转后浏览器参数会变成:
&addressBook=/student/index/ 变成 addressBook=/student/index/major/index

复现步骤

  1. 线上环境点击子应用内部路由跳转,浏览器参数会叠加

上传截图

aa
bb

复现仓库

请提供一个精简的代码仓库,然后上传到自己的 github,以帮助我们复现您的问题。

环境信息

  • micro-app版本:1.0.0-rc.11
  • 主应用前端框架&版本:vue3+vite
  • 子应用前端框架&版本:vue3+vite
  • 构建工具&版本:vite5.2.12
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