From ab3e84ca5e0aedf77bb2fc390be8a468ebb72cba Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Thu, 01 Aug 2024 18:15:45 +0800
Subject: [PATCH] 1
---
src/page/authentication/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/page/authentication/index.vue b/src/page/authentication/index.vue
index 114f4da..f768aa2 100644
--- a/src/page/authentication/index.vue
+++ b/src/page/authentication/index.vue
@@ -289,9 +289,11 @@
// 实名认证弹框
if (isNull(this.form.name)) {
Toast(this.$t("hj207"));
- } else if (isNull(this.form.idCard)) {
- Toast(this.$t("hj208"));
- } else if (!this.form.img1key) {
+ } else if (isNull(this.form.idCard) || this.form.idCard.length != 12) {
+ Toast(this.$t("限制长度为12位数"));
+ } else if (isNull(this.form.vaildNumber) || this.form.vaildNumber.length != 10) {
+ Toast(this.$t("限制长度为10位数"));
+ } else if (!this.form.img1key) {
Toast(this.$t("hj209"));
} else if (!this.form.img2key) {
Toast(this.$t("hj209"));
--
Gitblit v1.9.3