fix(系统设置):手机号设置为必填

This commit is contained in:
wenyann 2020-11-05 15:02:34 +08:00
parent 5def220676
commit b0ac3e0219
1 changed files with 2 additions and 1 deletions

View File

@ -368,8 +368,9 @@ export default {
}
],
phone: [
{required: true, message: this.$t('user.input_phone'), trigger: 'blur'},
{
required: false,
required: true,
pattern: '^1(3|4|5|7|8)\\d{9}$',
message: this.$t('user.mobile_number_format_is_incorrect'),
trigger: 'blur'