当设置_self属性时,再设置宽和高就不管用,这个宽高会继承父窗口的宽高!
window.open("url","_self","width=100,height=200");
上面相当于:
window.open("url","_self");
当设置_self属性时,再设置宽和高就不管用,这个宽高会继承父窗口的宽高!
window.open("url","_self","width=100,height=200");
上面相当于:
window.open("url","_self");