diff --git a/src/pages/activity/ActivityCode.vue b/src/pages/activity/ActivityCode.vue index b2bd47b..a205c6f 100644 --- a/src/pages/activity/ActivityCode.vue +++ b/src/pages/activity/ActivityCode.vue @@ -222,9 +222,9 @@ export default { this.loading = true; let that = this; doHttp - .downloadZip("/activity/instance/download", type == 2 ? '门店码' : "门店导购码", { type: type, instanceId: this.instanceId }) + .downloadZip("/activity/instance/download?type=" + type + "&instanceId=" + this.instanceId, type == 2 ? '门店码' : "门店导购码", { type: type, instanceId: this.instanceId }) .then(res => { - console.log("下载", res) + thar.loading = false; }) } },