From 7205b02a8fd3d55e7bac84ebcb94a2fcc46ae1ae Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 2 Jun 2020 18:52:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=80=A7=E8=83=BD=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=90=8D=E7=A7=B0=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/performance/test/EditPerformanceTestPlan.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue b/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue index 63516426e1..39fca4e827 100644 --- a/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue +++ b/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue @@ -210,13 +210,9 @@ this.$router.push({path: '/performance/test/all'}) }, validTestPlan() { - let reg = /^[\u4e00-\u9fa5_a-zA-Z0-9\s.ยท-]+$/; if (!this.testPlan.name) { this.$error(this.$t('load_test.test_name_is_null')); return false; - } else if (!reg.test(this.testPlan.name)) { - this.$error(this.$t('load_test.special_characters_are_not_supported')); - return false; } if (!this.testPlan.projectId) {