修改bug

This commit is contained in:
齐天大圣 2024-01-13 13:50:18 +08:00
parent 77df396e46
commit 7d9d150c38
2 changed files with 5 additions and 5 deletions

View File

@ -199,10 +199,10 @@ export default {
getCode() {
if(!this.loginForm.tel){
/*if(!this.loginForm.tel){
this.$message.error("手机号不能为空")
return
}
}*/
const TIME_COUNT = 60;
if (!this.timer) {

View File

@ -59,7 +59,7 @@
</el-input>
</div>
<div class="login-code">
<img :src="codeUrl" @click="getCode" class="login-code-img"/>
<img :src="codeUrl" @click="getCodeimg" class="login-code-img"/>
</div>
</div>
</el-form-item>
@ -196,10 +196,10 @@ export default {
methods: {
getCode() {
if(!this.loginForm.tel){
/*if(!this.loginForm.tel){
this.$message.error("手机号不能为空")
return
}
}*/
const TIME_COUNT = 60;
if (!this.timer) {