diff --git a/project/xumu/AppWeightManage/add.vue b/project/xumu/AppWeightManage/add.vue index 54350e94..0dbdca35 100644 --- a/project/xumu/AppWeightManage/add.vue +++ b/project/xumu/AppWeightManage/add.vue @@ -62,7 +62,7 @@ export default { submit() { this.$refs.detail.validate().then(() => { this.form.biochipEarNumber = this.detail.biochipEarNumber - this.instance.post("/api/breed/weight/addOrEdit", this.form).then(res => { + this.instance.post("/api/breed/weight/addOrEdit", null, {params: this.form}).then(res => { if (res?.code == 0) { this.dialog = false this.getDetail()