From 912aeddb56e0514dd9fd0b0db10319b81d9976fc Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Mon, 28 Nov 2022 11:05:25 +0800
Subject: [PATCH] 1

---
 src/views/user/front-login.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/user/front-login.vue b/src/views/user/front-login.vue
index 6f57fbf..9045cc4 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-07-12 11:01:46
+ * @LastEditTime: 2022-08-12 15:31:56
  * @Description:
 -->
 <template>
@@ -26,18 +26,18 @@
   },
   created() {
     var _this = this;
-    // localStorage.edu_ins_client_openId = 'oJbj21YwUatdNaYf3iEPwwGtWuUg'
-    // localStorage.edu_ins_client_userMation = '{"openid":"oGGPLs2yZ5tiBnB9iYcZrV60DoqM","nickname":"乌卡拉卡","sex":"1","province":"四川","city":"成都","country":"中国","headimgurl":"http://thirdwx.qlogo.cn/mmopen/vi_32/sYsBGsncFia9ql7K5stRibY61BSjDkPkNQFiasqdHiczTwbnX7JeZhcrp49RZD9icFTDLd2JqUjIrHHVw0f52kE4Uibw/132"}'
+    // 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"}'
     // this.$router.push("/login");
     //本地是否存储有openId,有就调用openId登录
-    if (localStorage.edu_ins_client_openId && localStorage.edu_ins_client_openId != undefined) {
+    if (localStorage.axx_ins_client_openId && localStorage.axx_ins_client_openId != undefined) {
       //this.$router.push("/login");
       this.openIdLogin({
           vm: _this,
-          openId: localStorage.edu_ins_client_openId
+          openId: localStorage.axx_ins_client_openId
         });
     } else {
-      this.loginBut();
+      this.$router.push("/login");
     }
   },
   methods: {
@@ -55,7 +55,7 @@
     //登录验证
     loginBut() {
         // 无openId跳转授权,有就执行openId登录
-      //if (!localStorage.edu_ins_client_openId || localStorage.edu_ins_client_openId == undefined) {
+      //if (!localStorage.axx_ins_client_openId || localStorage.axx_ins_client_openId == undefined) {
         let url = location.host
         //console.log(location.href)
         //console.log("准备跳转");   wx594ab33e0466eccf

--
Gitblit v1.8.0