Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
8ba58d1a70
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue