修改第三方登录

This commit is contained in:
paulGao
2022-02-14 18:09:51 +08:00
parent e73d76eb57
commit 4a5a4c19a5
2 changed files with 122 additions and 67 deletions

View File

@@ -43,7 +43,7 @@ export default {
getUserProfile() {
let code = "WECHAT";
let buyer = api.buyer;
window.open(buyer + `/connect/login/web/` + code, "_self");
window.open(buyer + `/passport/connect/login/web/` + code, "_self");
},
backToHome() {
uni.switchTab({
@@ -55,11 +55,9 @@ export default {
</script>
<style lang="scss" scoped>
.wx-auth-container {
width: 100%;
margin-top: 20%;
}