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
Uh oh!
There was an error while loading. Please reload this page.
-
vue-router定义了三个页面,分别是 http://localhost:8080/test/#/a, http://localhost:8080/test/#/b, http://localhost:8080/test/#/c, 这三个页面,webpack中publicPath设置为/test/,vue-router 中也设置了base为/test/ 在a页面有一个iframe,iframe的路径是http://localhost:8080/test/#/b,在b页面也有一个iframe,iframe的路径是http://localhost:8080/test/#/c, 其中iframe为http://localhost:8080/test/#/b的页面正常显示,iframe路径为http://localhost:8080/test/#/c的iframe 没有正常显示,查看network http://localhost:8080/test/#/c的iframe资源没有加载,且浏览器查看对应iframe信息,对应的网址为空,三个页面都在同一个项目下,且同源,没有设施CSP,http://localhost:8080/test/#/c 这是什么原因导致的?
Beta Was this translation helpful? Give feedback.
All reactions