From 3978f6d69f0e743fa48bdc0a0b6f741668abcb74 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Wed, 8 Jul 2020 16:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BF=83=E7=90=86=E5=92=A8?= =?UTF-8?q?=E8=AF=A2=E9=97=AE=E9=A2=98=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/psychology/psychologyquestion.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/psychology/psychologyquestion.vue b/src/views/modules/psychology/psychologyquestion.vue index f5231c7..63fe77b 100644 --- a/src/views/modules/psychology/psychologyquestion.vue +++ b/src/views/modules/psychology/psychologyquestion.vue @@ -186,7 +186,7 @@ export default { }).then(() => { this.dataForm.id = id this.dataForm.displayFlag = '0' - this.$http['put']('/property/psychologyquestion/', this.dataForm).then(({ data: res }) => { + this.$http['put']('/property/psychologyquestion/', { id: this.dataForm.id, displayFlag: this.dataForm.displayFlag }).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -213,7 +213,7 @@ export default { }).then(() => { this.dataForm.id = id this.dataForm.displayFlag = '1' - this.$http['put']('/property/psychologyquestion/', this.dataForm).then(({ data: res }) => { + this.$http['put']('/property/psychologyquestion/', { id: this.dataForm.id, displayFlag: this.dataForm.displayFlag }).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) }