This commit is contained in:
aihe 2024-07-14 20:33:22 +08:00
parent 682a016c56
commit ff9af2adeb
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@ export const host = curEnvConf.apiHost
export default {
uploadFile: '/common/ossUpload',
loginByApp: `/loginByAccount`, // 登录
loginByApp: `/loginByApp`, // 登录 -- DONE
loginByMP: `/loginByWeixin`, // 小程序登录 -- DONE
bindPhone: `/bindPhoneByWx`, // 绑定手机号 -- DONE
getInfoByApp: `/getInfoByWxApp`,// 获取用户基本信息 -- DONE

View File

@ -84,11 +84,14 @@
})
setSessionLoginInfo(submitParams)
this.$emit("succeedBack")
this.loginSucceed()
}catch(e){
console.error("USERKEY.LOGIN===catch error:", e)
}
this.hideLoading()
},
async loginSucceed(){
this.$emit("succeedBack")
}
}
}