You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我的主应用和子应用都是vite,
按示例代码做
遇到2个问题:
1,为什么我的路由url 会多出?参数,
如:我访问 http://localhost:2500/admin-sub/about
路由会自动变成 http://localhost:2500/admin-sub/about?admin=%2Fabout ,
我在主应用和子应用里都 使用的是 history模式,这个参数是怎么加上的呢?
2,只有第一次访问,也就是刷新或者从主应用点击到子应用去,子应用能显示,再点击其他任何路由链接,
直接不加载了,勾子函数不响应,说明未按预期加载页面。
这是怎么回事呢?
Beta Was this translation helpful? Give feedback.
All reactions