diff --git a/src/components/LoginDialog/index.vue b/src/components/LoginDialog/index.vue index d6f23aca..3fcaf992 100644 --- a/src/components/LoginDialog/index.vue +++ b/src/components/LoginDialog/index.vue @@ -16,7 +16,7 @@ - + 登录 注册 @@ -102,7 +102,7 @@ const ruleForm = reactive({ email: '', password: '', captcha: '', - checkType: checkType.value + checkType: 1 }) const rules = reactive>({ @@ -142,6 +142,10 @@ const closeLogin = () => { qrcode.value = '' } +const changeCheckType = () => { + ruleForm.checkType = checkType.value +} + const getOauthWechat = async () => { const result = await oauthWechat() if (result.data.code === 200) {