refactor(系统设置): 去掉创建组织时对特殊字符的限制

This commit is contained in:
shiziyuan9527 2020-10-19 15:11:30 +08:00
parent f0f9877765
commit 6cf026addc
1 changed files with 1 additions and 7 deletions

View File

@ -233,13 +233,7 @@ export default {
rule: {
name: [
{required: true, message: this.$t('organization.input_name'), trigger: 'blur'},
{min: 2, max: 25, message: this.$t('commons.input_limit', [2, 25]), trigger: 'blur'},
{
required: true,
pattern: /^[\u4e00-\u9fa5_a-zA-Z0-9.·-]+$/,
message: this.$t('organization.special_characters_are_not_supported'),
trigger: 'blur'
}
{min: 2, max: 25, message: this.$t('commons.input_limit', [2, 25]), trigger: 'blur'}
],
description: [
{max: 50, message: this.$t('commons.input_limit', [0, 50]), trigger: 'blur'}