From c30df0ac47472fe68d9d40fe588f9c035d80b14d Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 8 Jul 2022 13:53:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Qa/editQuestion.vue | 3 ++- src/views/portal/qa/Index.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Qa/editQuestion.vue b/src/components/Qa/editQuestion.vue index 85409d17..a1f3a298 100644 --- a/src/components/Qa/editQuestion.vue +++ b/src/components/Qa/editQuestion.vue @@ -4,7 +4,7 @@ 255){ // return this.$message({ // message: '回复内容为0-800个字', diff --git a/src/views/portal/qa/Index.vue b/src/views/portal/qa/Index.vue index dc9e26ca..051d5788 100644 --- a/src/views/portal/qa/Index.vue +++ b/src/views/portal/qa/Index.vue @@ -252,7 +252,7 @@ export default { apiQa .saveAnswer({ qid: this.answer.id, - content: this.answer.inputValue + content: this.answer.inputValue.trim() }) .then(res => { if (res.status == 200) {