Closed IdealZXL closed 1 year ago
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
是浏览器限制
Infinite recursion is prevented. Any frame that attempts to assign as its SRC a URL used by any of its ancestors is treated as if it has no SRC URL at all (basically a blank frame). This doesn't prevent all malicious documents, but it eliminates a troublesome class of them.
由于项目的特殊性,要涉及到iframe的多级嵌套使用,我在home页面使用iframe加载detail页面,在detail页面使用iframe加载detail2页面,hash模式,detail2页面根本不加载,而history模式就可以,这个是vue-router本身限制,还是浏览器问题?
路由
home.vue
detail.vue
detail2.vue