1 相同的窗口名字,会在同一个窗口打开。 win = open('','win','');2 或者,先判断是否已经关闭var win = null;
if(win != null){
   if(!win.closed) win.close();
}
win = open('','win','');