修改bug
This commit is contained in:
parent
77df396e46
commit
7d9d150c38
@ -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) {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user