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) {