45
chenyc
2022-10-21 dc336b246060ce15fa21ae131830b6f22bb71aa7
45
1个文件已修改
5 ■■■■ 已修改文件
src/views/login/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.vue
@@ -82,8 +82,11 @@
            Toast('手机号码不能为空')
            return
        }
        ajaxPost('patient/info/sendValidCode','phoneNo='+ruleForm3.value.userPhone,config).then(re=>{
        ajaxPost('patient/info/sendValidCode','phoneNo='+ruleForm3.value.userPhone,config).then((re:any)=>{
            console.log(re)
            if (re.code===200){
                return
            }
            const timer= setInterval(() => {
                if (seconds.value > 0) {
                    seconds.value--