Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
wenyann 2020-06-02 19:39:51 +08:00
commit 8ba58d1a70
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) {