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

学生端功能

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