34
chenyc
2022-10-21 366e369f1baaa05015e0e68b307a59ad60e25ca5
34
1个文件已修改
6 ■■■■ 已修改文件
src/views/login/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.vue
@@ -63,8 +63,12 @@
        })
    }
    const onSubmit3=(values:any)=>{
        if (userInfo.info.openid===''){
            Toast('没有获取到openid')
            return
        }
        console.log('提交表单',ruleForm3.value,values)
        ajaxPost('patient/info/isValidCodeOK',`phoneNo=${ruleForm3.value.userPhone}&validCode=${ruleForm3.value.validateCode}`,config).then((re:any)=>{
        ajaxPost('patient/info/isValidCodeOK',`phoneNo=${ruleForm3.value.userPhone}&validCode=${ruleForm3.value.validateCode}&openId=${userInfo.info.openid}`,config).then((re:any)=>{
            console.log(re)
            if (re===false){
                Toast('登录失败,请重新登录')