CodePudding user response:
The function downloadPoint (goodId, batchId) {The console. The log (" into the export method ");
Window. The location. Href="https://bbs.csdn.net/carmiMange/exportCarmi? BatchId="+ +" batchId & amp; GoodId="+ goodId;
SetTimeout (function () {
Window. The location. Reload (true);
}, 1000);
}
I am so written, now is if can export, the export will successfully exported, unable to export will jump to a new page, the return value of a new page displays the background
