更新时间:2023-10-02 16:52:34
我搜索了很多网页谷歌和这里的Stack Overflow,但没有任何建议解决了我的问题。
I searched for many pages of the web through of the Google and here on the Stack Overflow, but nothing suggested resolved my problem.
经过多次尝试和踢后,我改变了测试控制器的方式。然后我发现问题一直发生在Chrome浏览器中我通过 Ctrl + Shift + T
快捷方式重新打开页面。所以页面运行了,但没有父窗口引用,因此无法关闭。
After many attempts and "kicks", I changed my way of to test that controller. Then I have discovered that the problem occurs always which I reopened the page through of the Ctrl + Shift + T
shortcut in Chrome. So the page ran, but without a parent window reference, and because this can't be closed.