iframe中调用父iframe中的方法时间:2023-03-08 16:26:38 function getRootWin(){ var win = window; while (win != win.parent){ win = win.parent; } return win; }