From c7c3c038a8205066a153287b848efa3a108ceebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Wed, 22 Apr 2026 14:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B0=B4=E6=BB=B4=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E9=AA=8C=E8=AF=81=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views.Mobile/Product/Index.cshtml | 6 +++--- Host/Views/Product/Index.cshtml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Host/Views.Mobile/Product/Index.cshtml b/Host/Views.Mobile/Product/Index.cshtml index 213afe6..e59fdcd 100644 --- a/Host/Views.Mobile/Product/Index.cshtml +++ b/Host/Views.Mobile/Product/Index.cshtml @@ -845,7 +845,7 @@ }, created: function () { this.order_info.account = this.randomString(2) + (Math.floor(Math.random() * 10000) + 1); - this.order_info.password = (Math.floor(Math.random() * 1000) + 1); + this.order_info.password = (Math.floor(Math.random() * 1000000) + 1); }, methods: { randomString(len) { @@ -1077,8 +1077,8 @@ alert('账号长度至少5位!'); return; } - if (this.order_info.password.length < 3 && this.hasNumAndChar(this.order_info.password)) { - alert('密码长度至少3位!'); + if (this.order_info.password.length < 6 && this.hasNumAndChar(this.order_info.password)) { + alert('密码长度至少6位!'); return; } diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index 7c05066..dc4fb8e 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -1215,7 +1215,7 @@ }, created: function () { this.order_info.account = this.randomString(2) + (Math.floor(Math.random() * 10000) + 1); - this.order_info.password = (Math.floor(Math.random() * 1000) + 1); + this.order_info.password = (Math.floor(Math.random() * 1000000) + 1); }, methods: { randomString(len) { @@ -1446,8 +1446,8 @@ alert('账号长度至少5位!'); return; } - if (this.order_info.password.length < 3 && this.hasNumAndChar(this.order_info.password)) { - alert('密码长度至少3位!'); + if (this.order_info.password.length < 6 && this.hasNumAndChar(this.order_info.password)) { + alert('密码长度至少6位!'); return; }