Merge branch 'master' into ma

master
mabo 2021-06-04 09:06:34 +08:00
commit 8fa58c7010
1 changed files with 5 additions and 8 deletions

View File

@ -18,6 +18,7 @@ import { webConnect, openIdLogin } from "@/api/connect.js";
import { whetherNavigate } from "@/utils/Foundation"; //
import { getUserInfo } from "@/api/members";
import storage from "@/utils/storage.js";
import api from "@/config/api.js";
export default {
data() {
@ -148,12 +149,8 @@ export default {
// #ifdef H5
let code = connectLogin.code;
webConnect(code).then((res) => {
let data = res.data;
if (data.success) {
window.location = data.result;
}
});
let buyer = api.buyer;
window.open(buyer+`/connect/login/web/`+code, "_self");
// #endif
// #ifdef APP-PLUS
this.nonH5OpenId(connectLogin);