From 2479f91f7c9be516afac52fe4524cd3719da844b Mon Sep 17 00:00:00 2001 From: xiongchengqiang Date: Mon, 14 Dec 2020 18:29:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kpi/assessment/performance/components/process.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/kpi/assessment/performance/components/process.vue b/src/views/kpi/assessment/performance/components/process.vue index 9248298..bc1f09a 100644 --- a/src/views/kpi/assessment/performance/components/process.vue +++ b/src/views/kpi/assessment/performance/components/process.vue @@ -387,7 +387,8 @@ export default { const str = this.staffList.list.map(i => i.staffId).join(',') let params = {} // debugger - if (!this.form.content) return + if (!this.form.content.replace(/(^\s*)|(\s*$)/g, '')) return + this.form.content = this.form.content.replace(/(^\s*)|(\s*$)/g, '') params.content = this.form.content if (str) params.atStaffIds = str params[this.pinglunForm.id ? 'taskId' : 'detailId'] = this.pinglunForm.id ? this.pinglunForm.id : this.taskInfo.detailId