fix: 手机号不必填

This commit is contained in:
wenyann 2021-02-01 18:50:45 +08:00
parent 71b0d84e77
commit 3cd7fa2620
2 changed files with 0 additions and 4 deletions

View File

@ -114,9 +114,7 @@ export default {
}
],
phone: [
{required: true, message: this.$t('user.input_phone'), trigger: 'blur'},
{
required: false,
pattern: PHONE_REGEX,
message: this.$t('member.mobile_number_format_is_incorrect'),
trigger: 'blur'

View File

@ -399,9 +399,7 @@ export default {
}
],
phone: [
{required: true, message: this.$t('user.input_phone'), trigger: 'blur'},
{
required: true,
pattern: PHONE_REGEX,
message: this.$t('user.mobile_number_format_is_incorrect'),
trigger: 'blur'