chengxuan12

Results 2 comments of chengxuan12

在IOS端。从当前页点击跳转到第二个页面,马上按左上角返回键。有时会出现两个链接来回循环跳n次的情况,页面也越拉越长。Simple Router在线demo就可以复现这个现象,是什么问题?

> ![image](https://user-images.githubusercontent.com/6779783/177674461-a918b2d4-18bf-4ea0-9fa9-e942f289a5eb.png) 就是因为这次代码更新引起的 这块代码的更新,看上去是为了解决 #1266 的问题。 我用的是2.8.0版本。 this.registerRunningApp(name, proxy) 等价于 setCurrentRunningSandboxProxy(proxy); nextTick(() => setCurrentRunningSandboxProxy(null)); 我也出现了这个问题。因为发现触发的是get里的 'Symbol(Symbol.unscopables)'。 所以尝试放在 ` if (p === Symbol.unscopables) return unscopables; ` 的后面。