去掉性能测试名称特殊字符校验

This commit is contained in:
shiziyuan9527 2020-06-02 18:52:49 +08:00
parent 86630d0115
commit 7205b02a8f
1 changed files with 0 additions and 4 deletions

View File

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