$('.Doctor').on('click','.PaperT',function(){
var STUId=$(this).parents('tr').attr('class')
var newTab=window.open('about:blank');
$.ajax({
type : "POST",
url : "/look_pdf_file/",
traditional: true,
data : {"Id":STUId},
dataType : 'json',
cache : false,
success : function(result) {
newTab.location.href=result.PDF.path_paper;
}
})
})
未经测试
最终解决办法:浏览器设置