From 66d132b96fd30abf1d75bed49ff176a52b4101ee Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Wed, 10 Apr 2024 15:36:11 +0800
Subject: [PATCH] huilv

---
 src/page/login/register.vue |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index 61edde4..52bd8b9 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -129,11 +129,7 @@
       } else if (isNull(this.rePassword)) {
         Notify({ type: "warning", message: this.$t("hj31") });
       } else {
-        if (!/(^[1-9]\d*$)/.test(this.phone)) {
-          Notify({ type: "warning", message: this.$t("hj28") });
-        } else if (this.phone.toString().length != 10) {
-          Notify({ type: "warning", message: this.$t("hj28") });
-        } else if (this.userPassword !== this.rePassword) {
+        if (this.userPassword !== this.rePassword) {
           this.password = 0;
           this.password2 = 0;
           Notify({ type: "warning", message: this.$t("hj32") });

--
Gitblit v1.9.3