From 9ccf4e2a3b0d5c445eb9c7d461e9e1238d952227 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 30 Jun 2022 10:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=B8=E5=90=8Cappid?= =?UTF-8?q?=E4=B8=8D=E5=90=8C=E7=89=88=E6=9C=AC=E6=95=B0=E6=8D=AE=E6=B7=B7?= =?UTF-8?q?=E6=B7=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oms/apps/develop/AppDeployWxmp/AppDeployWxmp.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/project/oms/apps/develop/AppDeployWxmp/AppDeployWxmp.vue b/project/oms/apps/develop/AppDeployWxmp/AppDeployWxmp.vue index 25126bf7..cefef667 100644 --- a/project/oms/apps/develop/AppDeployWxmp/AppDeployWxmp.vue +++ b/project/oms/apps/develop/AppDeployWxmp/AppDeployWxmp.vue @@ -125,9 +125,9 @@ export default { }) }, handleDownload(row) { - let {appid} = row + let {appid, pid} = row this.instance.post("/node/wxmp/download", null, { - params: {appid}, + params: {appid, pid}, responseType: "blob" }).then(res => { if (res?.code == 1) { @@ -145,10 +145,10 @@ export default { }) }, handleZip(row) { - let {miniapp_appid: appid, version} = row + let {miniapp_appid: appid, version, id} = row if (!version) return this.$message.error("请先维护要上传的版本!") appid && this.instance.post("/node/wxmp/getZip", null, { - params: {appid} + params: {appid, id} }).then(res => { if (res?.code == 0) { row.count = 1 @@ -209,9 +209,9 @@ export default { }).catch(() => 0) }, handleConfirmZip(row) { - let {appid} = row + let {appid, pid} = row return this.instance.post("/node/wxmp/confirmZip", null, { - params: {appid} + params: {appid, pid} }).then(res => { if (res?.code == 0) return res.data })