From 6979b9eb718f0865920f74bc823c9f2439463b11 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Mon, 29 Jul 2024 15:02:07 +0800
Subject: [PATCH] 限制长度为10位数,限制长度为12位数
---
src/page/login/register.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index 6ff323b..ac3015b 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -123,7 +123,7 @@
},
async gook() {
- if (this.phone.length !== 10) {
+ if (this.phone.length == 0) {
Notify({ type: "warning", message: this.$t("hj28") });
} else if (isNull(this.userPassword)) {
Notify({ type: "warning", message: this.$t("hj30") });
--
Gitblit v1.9.3