From 7f60f36dba1a2c06ececcfff609c0b5ac7836cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 9 May 2023 09:34:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=BA=E5=91=98=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/PersonnelSelection/index.vue | 2 ++ .../views/projectManagement/projectLibrary/index.vue | 9 +++++++-- .../projectManagement/projectNonConformance/index.vue | 10 ++++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/jero-web/src/components/PersonnelSelection/index.vue b/jero-web/src/components/PersonnelSelection/index.vue index 0a1609d71..7cf7c0574 100644 --- a/jero-web/src/components/PersonnelSelection/index.vue +++ b/jero-web/src/components/PersonnelSelection/index.vue @@ -147,6 +147,8 @@ let username = [] if (this.selectValue.length > 0) { this.selectValue.forEach(res => { + let reg = /[\t\r\f\n\s]*/g + res.label = res.label.replace(reg, '') id.push(res.key) username.push(res.label) }) diff --git a/jero-web/src/views/projectManagement/projectLibrary/index.vue b/jero-web/src/views/projectManagement/projectLibrary/index.vue index 59736a985..92eb2ea83 100644 --- a/jero-web/src/views/projectManagement/projectLibrary/index.vue +++ b/jero-web/src/views/projectManagement/projectLibrary/index.vue @@ -35,7 +35,7 @@