Vue中怎样关闭chrome浏览器?

我在一个html页面中调用上面的closeme方法是可以关闭chrome浏览器的,但是在vue中,调用closeme方法时就不能关闭,报 Scripts may close only the windows that were opened by them.
closeMe @ utils.js?fa7d:5

哪位大神知道怎样在VUE中关闭Chrome浏览器?