From 9255e4930f11a6e1be210486ee4f12ccc75f53c2 Mon Sep 17 00:00:00 2001 From: hyx Date: Sun, 28 Apr 2024 14:31:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:CN-1645=20=E3=80=90Administration-User?= =?UTF-8?q?=E3=80=91Mobile=E6=A0=BC=E5=BC=8F=E6=A0=A1=E9=AA=8C=E6=9C=89?= =?UTF-8?q?=E8=AF=AF:=E7=94=B1=E4=BA=8E=E5=9B=BD=E5=86=85=E5=A4=96?= =?UTF-8?q?=E7=9A=84=E5=8F=B7=E7=A0=81=E6=A0=A1=E9=AA=8C=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=B8=8D=E9=80=9A=E7=94=A8=EF=BC=8C=E8=A7=84=E5=88=99=E6=94=B9?= =?UTF-8?q?=E4=B8=BA20=E4=BD=8D=E4=BB=A5=E5=86=85=E7=BA=AF=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E5=8D=B3=E5=8F=AF=EF=BC=8C=E4=B8=8D=E5=86=8D=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E5=85=B7=E4=BD=93=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/rightBox/settings/UserBox.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/rightBox/settings/UserBox.vue b/src/components/rightBox/settings/UserBox.vue index b366f82a..ab9e4d12 100644 --- a/src/components/rightBox/settings/UserBox.vue +++ b/src/components/rightBox/settings/UserBox.vue @@ -37,7 +37,7 @@ - + @@ -183,7 +183,7 @@ export default { ], mobile: [ { required: false, message: this.$t('validate.required') }, - { pattern: /^(1[345678]\d{9})$/, message: this.$t('validate.mobile') } + { pattern: /^(\d{1,20})$/, message: this.$t('validate.mobile') } ] }, rules2: { // 表单校验规则 @@ -207,7 +207,7 @@ export default { ], mobile: [ { required: false, message: this.$t('validate.required') }, - { pattern: /^(1[345678]\d{9})$/, message: this.$t('validate.mobile') } + { pattern: /^(\d{1,20})$/, message: this.$t('validate.mobile') } ] }, roleData: [],