修改导出bug

dev_2022-05-11
e 3 years ago
parent 73060fdd63
commit e10a8d4f66
  1. 4
      src/pages/match/manage/matchSignup.vue

@ -135,7 +135,7 @@ export default {
} }
}, },
exportAll() { exportAll() {
location.href = `${this.api.excelExport}/${this.id}/token=${this.token}`; location.href = `${this.api.excelExport}?${this.id}`;
}, },
exportBatch() { exportBatch() {
if (this.multipleSelection.length != "") { if (this.multipleSelection.length != "") {
@ -145,7 +145,7 @@ export default {
}); });
// return console.log(11,data) // return console.log(11,data)
location.href = `${this.api.batchExport}?ids=${data.join(",")}/token=${this.token}`; location.href = `${this.api.batchExport}?ids=${data.join(",")}`;
} else { } else {
util.errorMsg("请先选择数据 !"); util.errorMsg("请先选择数据 !");
} }

Loading…
Cancel
Save