提交 fbe83b92 authored 作者: Yroc's avatar Yroc

学生端功能

上级 37631cfc
......@@ -3,7 +3,7 @@
* @Author: AnthonyD
* @Date: 2023-02-22 11:31:31
* @Last Modified by: AnthonyD
* @Last Modified time: 2023-03-14 19:25:14
* @Last Modified time: 2023-03-15 11:00:55
*/
</script>
<template>
......@@ -38,7 +38,6 @@
name="username"
type="text"
tabindex="1"
autocomplete="on"
>
</el-input>
</div>
......@@ -288,11 +287,15 @@ export default {
sendMessage() {
this.is_loading = true;
// this.$refs.retrieveForm.validateField('email', (errMsg) => {});
getCode({ email: this.loginForm.email }).then((res) => {
this.loginForm.eamil_key = res.key || null;
this.countDown();
this.is_loading = false;
});
getCode({ email: this.loginForm.email })
.then((res) => {
this.loginForm.eamil_key = res.key || null;
this.countDown();
this.is_loading = false;
})
.catch(() => {
this.is_loading = false;
});
this.$refs.ruleForm.validate((valid) => {
if (valid) {
console.log('效验通过');
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论