修改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() { getCode() {
if(!this.loginForm.tel){ /*if(!this.loginForm.tel){
this.$message.error("手机号不能为空") this.$message.error("手机号不能为空")
return return
} }*/
const TIME_COUNT = 60; const TIME_COUNT = 60;
if (!this.timer) { if (!this.timer) {

View File

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