From 9ca581cca97e9ba95ff808f6b7a08c24a4758dbf Mon Sep 17 00:00:00 2001
From: DESKTOP-CVS3R96\我恁爹 <11>
Date: Fri, 11 Nov 2022 09:55:52 +0800
Subject: [PATCH] 9.55
---
src/page/login/register.vue | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index 00a1170..3576d01 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -30,17 +30,17 @@
<div class="user_name">
<input type="text" placeholder="机构代码" v-model="userName" />
</div> -->
- <el-input :placeholder="placeholder" :size="medium" v-model="phone" clearable @input="handleInput()">
+ <el-input :placeholder="placeholder" size="medium" v-model="phone" clearable @input="handleInput()">
</el-input>
<!-- <el-input style="margin-top: 0.46rem;" :placeholder="verification" :size="medium" v-model="code" clearable>
</el-input> -->
- <el-input style="margin-top: 0.46rem;" show-password placeholder="密码为6~12位数字、字母或符号" :size="medium"
+ <el-input style="margin-top: 0.46rem;" show-password placeholder="密码为6~12位数字、字母或符号" size="medium"
v-model="userPassword" @input="handleInput()">
</el-input>
- <el-input style="margin-top: 0.46rem;" show-password placeholder="请再次确认密码" :size="medium" v-model="rePassword"
+ <el-input style="margin-top: 0.46rem;" show-password placeholder="请再次确认密码" size="medium" v-model="rePassword"
@input="handleInput()">
</el-input>
- <el-input style="margin-top: 0.46rem;" placeholder="邀请码" :size="medium" v-model="userName" clearable
+ <el-input style="margin-top: 0.46rem;" placeholder="邀请码" size="medium" v-model="userName" clearable
@input="handleInput()">
</el-input>
</div>
@@ -187,7 +187,6 @@
setTimeout(() => {
this.alertShow = false
this.elType = "warning"
-
}, 2000)
}
} else {
@@ -279,16 +278,16 @@
}
let data = await api.register(opts)
if (data.status === 0) {
-
this.texts = "注册成功,请登录"
this.elType = "success"
this.alertShow = true
setTimeout(() => {
+ this.$router.push('/login')
this.alertShow = false
this.elType = "warning"
- }, 2000)
+ }, 1000)
this.loginBtn = false;
- this.$router.push('/login')
+
} else {
this.texts = data.msg
this.alertShow = true
--
Gitblit v1.9.3