window.location = url; window.open(url);//该片段来自于http://www.codesnippet.cn/detail/110220148664.html
来源: http://www.codesnippet.cn/detail/110220148664.html