From 49f6b128e85e250223a12b44535583bdeb5c90fa Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Mon, 12 Jan 2026 11:28:01 +0800
Subject: [PATCH] 1
---
src/page/login/register.vue | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index 5173c70..750ca32 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -66,10 +66,10 @@
<input :placeholder="$t('jy312')" v-model="rePassword" type="password" />
</div>
- <!-- <div class="formDemos">
+ <div class="formDemos">
<span class="pwdIcons"></span>
<input :placeholder="$t('jy313')" v-model="userName" />
- </div> -->
+ </div>
</div>
<div class="loginBtn" v-loading="loginBtn" @click="gook">
@@ -166,7 +166,7 @@
this.userPassword !== "" &&
this.phone !== "" &&
this.userPassword == this.rePassword
- // && this.userName != ""
+ && this.userName != ""
) {
this.btnClass = true;
} else {
@@ -330,22 +330,22 @@
Toast(this.$t("hj19"));
this.loginBtn = false;
}
- // else if (isNull(this.userName)) {
- // // this.texts = this.$t('hj33')
- // // this.alertShow = true
- // // setTimeout(() => {
- // // this.alertShow = false
- // // }, 2000)
- // Toast(this.$t("hj33"));
- // this.loginBtn = false;
- // }
+ else if (isNull(this.userName)) {
+ // this.texts = this.$t('hj33')
+ // this.alertShow = true
+ // setTimeout(() => {
+ // this.alertShow = false
+ // }, 2000)
+ Toast(this.$t("hj33"));
+ this.loginBtn = false;
+ }
else {
let opts = {
// agentCode:'4023', // SR330001
phone: this.phone,
// yzmCode: this.yzmCode,
userPwd: this.userPassword,
- // agentCode: this.userName
+ agentCode: this.userName
};
let data = await api.register(opts);
if (data.status === 0) {
--
Gitblit v1.9.3