From 2b89158d7bf80f2c9a8a4203b4837de92837e7ca Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Mon, 19 Jan 2026 13:52:48 +0800
Subject: [PATCH] 1

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

diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index 4582ecf..8a00b0c 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -7,7 +7,7 @@
     <div class="logins_content">
       <div class="login_forms">
         <div class="top_forms">
-          <el-input :placeholder="placeholder" size="medium" v-model="phone" maxlength="10" clearable
+          <el-input :placeholder="placeholder" size="medium" v-model="phone" maxlength="13" clearable
             @input="handleInput()">
             <!-- <template slot="prepend">+91</template> -->
           </el-input>
@@ -99,6 +99,8 @@
     async gook() {
       if (this.phone.length == 0) {
         Notify({ type: "warning", message: this.$t("hj28") });
+      } else if (this.phone.length < 8) {
+        Notify({ type: "warning", message: this.$t("不能小于8位数") });
       } else if (isNull(this.userPassword)) {
         Notify({ type: "warning", message: this.$t("hj30") });
       } else if (isNull(this.rePassword)) {

--
Gitblit v1.9.3