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

线上主应用的地址会被改变 #1500

Open
5563 opened this issue Jan 13, 2025 · 1 comment
Open

线上主应用的地址会被改变 #1500

5563 opened this issue Jan 13, 2025 · 1 comment
Labels
Need Reproduction 需要复现步骤

Comments

@5563
Copy link

5563 commented Jan 13, 2025

问题描述

主应用和子应用都是hash路由,加载子应用时候地址栏路由有时会被替换掉

复现步骤

1.设置主项目路由为 www.abc.com/admin
2.子项目为micro.abc.com
加载页面www.abc.com/admin/#/menuManagement的时候,路径中/admin有时会消失调成www.abc.com/#/menuManagement

上传截图

image

复现仓库

部署后复现

环境信息

  • micro-app版本:
  • 主应用前端框架&版本:vite+vue3
  • 子应用前端框架&版本:vite+vue3
  • 构建工具&版本:
@timhub66 timhub66 added the Need Reproduction 需要复现步骤 label Jan 22, 2025
Copy link

Hello @5563. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository.
您好 @5563, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Reproduction 需要复现步骤
Projects
None yet
Development

No branches or pull requests

2 participants