滑块验证优化

This commit is contained in:
mabo
2021-06-29 14:58:07 +08:00
parent 0575503687
commit 18bfa0edef
10 changed files with 77 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="login">
<div class="login" @click="$refs.verify.show = false">
<Row type="flex" @keydown.enter.native="submitLogin">
<Col style="width: 368px">
<Header />
@@ -128,7 +128,7 @@ export default {
// 登录提交
this.$refs.usernameLoginForm.validate((valid) => {
if (valid) {
this.$refs.verify.show = true;
this.$refs.verify.init();
}
});
},