diff --git a/project/xumu/AppDeathAudit/add.vue b/project/xumu/AppDeathAudit/add.vue index 31cbd29b..1f55a811 100644 --- a/project/xumu/AppDeathAudit/add.vue +++ b/project/xumu/AppDeathAudit/add.vue @@ -34,7 +34,7 @@ export default { }, getDetail() { const {id} = this.$route.query - return id && this.instance.post("/api/breed/death/getAuditPage", null, {params: {id}}).then(res => { + return id && this.instance.post("/api/breed/death/getAuditPage", {id}).then(res => { if (res?.data) { const detail = res.data || {} if (detail.picture) { diff --git a/project/xumu/AppOutAudit/add.vue b/project/xumu/AppOutAudit/add.vue index 48c251b3..f3ce1c16 100644 --- a/project/xumu/AppOutAudit/add.vue +++ b/project/xumu/AppOutAudit/add.vue @@ -41,7 +41,7 @@ export default { }, getDetail() { const {id} = this.$route.query - return id && this.instance.post("/api/breed/out/getAuditPage", null, {params: {id}}).then(res => { + return id && this.instance.post("/api/breed/out/getAuditPage", {id}).then(res => { if (res?.data) { const detail = res.data return this.detail = {...detail}