防止showModalDialog 中点击下载链接跳出页面;
1、加<base target='_self'>标签
2、<iframe name="downloadFrame" id="downloadFrame" width="0" height="0" style="display: none;"></iframe>用于执行下载;
3、<a href="javascript:void(0)" target="downloadFrame" οnclick="download(this)"> value</a>下载链接
4、this.href = url下载地址;