二種新窗口打開的區別:
window.open("URL",'top'); 只是表示打開這個頁面,並不是打開並刷新頁面;
window.location.href="URL"; 表示重新定向到新頁面,同時刷新打開的這個頁面;
window.location.href=config.default.baseUrl.dev+'/reportOne?orderCode='+this.code+'&token='+token;
window.open(config.default.baseUrl.dev+'/reportOne?orderCode='+this.code+'&token='+token);