chrome浏览器关闭标签页提示:Scripts may close only the windows that were opened by it.
解决办法:通过open方法进行关闭。
open(location, '_self').close();
chrome浏览器关闭标签页提示:Scripts may close only the windows that were opened by it.
解决办法:通过open方法进行关闭。
open(location, '_self').close();