Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
937 views
in Technique[技术] by (71.8m points)

qiankun 路由问题

qiankun装载了两个子项目appA,和appB
appA地址是/appA,里面配置了appA/list路由。
访问appA,路径为/appA,访问appA/list,路径为/appA/list.
访问appB,路径为/appB

访问/appA正常,访问/appB也正常。
访问/appA/list正常。这时候访问/appB也正常。
但是这时候,从/appB跳转回/appA的时候,显示的地址是/appA,但是内容是/appA/list的。

是每次装载一个子项目的时候,需要重新初始化路由??


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

能否加个微信讨论一下 我也有类似的问题


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...