From 2526592bcec6d5c31056c260fb96f60a9b3ae2fa Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Fri, 05 Aug 2022 09:58:34 +0800 Subject: [PATCH] node --- src/views/user/front-login.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/user/front-login.vue b/src/views/user/front-login.vue index bb35d9c..1b00bd6 100644 --- a/src/views/user/front-login.vue +++ b/src/views/user/front-login.vue @@ -2,7 +2,7 @@ * @Author: 小明丶 * @Date: 2020-06-04 09:55:50 * @LastEditors: zxq - * @LastEditTime: 2022-08-04 10:36:30 + * @LastEditTime: 2022-08-05 09:43:56 * @Description: --> <template> @@ -13,7 +13,7 @@ import Vue from "vue"; import { RadioGroup, Radio } from "vant"; import { Checkbox, CheckboxGroup } from "vant"; -// import { GoWeChat } from "../../utils/wechat"; +import { GoWeChat } from "../../utils/wechat"; Vue.use(Checkbox); Vue.use(CheckboxGroup); @@ -27,17 +27,17 @@ created() { var _this = this; // localStorage.axx_ins_client_openId = 'oJbj21YwUatdNaYf3iEPwwGtWuUg' - // localStorage.axx_ins_client_userMation = '{"openid":"oGGPLs2yZ5tiBnB9iYcZrV60DoqM","nickname":"乌卡拉卡","sex":"1","province":"四川","city":"成都","country":"中国","headimgurl":"http://thirdwx.qlogo.cn/mmopen/vi_32/sYsBGsncFia9ql7K5stRibY61BSjDkPkNQFiasqdHiczTwbnX7JeZhcrp49RZD9icFTDLd2JqUjIrHHVw0f52kE4Uibw/132"}' + // localStorage.edu_ins_client_userMation = '{"openid":"oGGPLs2yZ5tiBnB9iYcZrV60DoqM","nickname":"乌卡拉卡","sex":"1","province":"四川","city":"成都","country":"中国","headimgurl":"http://thirdwx.qlogo.cn/mmopen/vi_32/sYsBGsncFia9ql7K5stRibY61BSjDkPkNQFiasqdHiczTwbnX7JeZhcrp49RZD9icFTDLd2JqUjIrHHVw0f52kE4Uibw/132"}' // this.$router.push("/login"); //本地是否存储有openId,有就调用openId登录 if (localStorage.axx_ins_client_openId && localStorage.axx_ins_client_openId != undefined) { //this.$router.push("/login"); - this.openIdLogin({ + this.openIdLogin({ vm: _this, openId: localStorage.axx_ins_client_openId }); } else { - this.$router.push("/login"); + this.$router.push("/login"); } }, methods: { -- Gitblit v1.8.0