From 892c84f32a12f10b0b21b74801fd28ccdf248e06 Mon Sep 17 00:00:00 2001
From: Michelle.Chung <1242874891@qq.com>
Date: 星期二, 27 六月 2023 09:03:51 +0800
Subject: [PATCH] update 更新字段命名 activityTimeout -> activeTimeout ; update 新增字段设备类型 deviceType ;

---
 src/layout/components/SocialLogin/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/layout/components/SocialLogin/index.vue b/src/layout/components/SocialLogin/index.vue
index fad8286..127007b 100644
--- a/src/layout/components/SocialLogin/index.vue
+++ b/src/layout/components/SocialLogin/index.vue
@@ -22,13 +22,13 @@
   .then(async (res) => {
     if (res.code !== 200) {
       ElMessage.error(res.msg);
-      router.go(-2);
+      location.href = import.meta.env.VITE_APP_CONTEXT_PATH + 'index';
       return;
     }
     loading.value = false;
     setToken(res.msg);
     ElMessage.success('鐧诲綍鎴愬姛');
-    router.go(-2);
+    location.href = import.meta.env.VITE_APP_CONTEXT_PATH + 'index';
   })
   .catch(() => {
     loading.value = false;

--
Gitblit v1.9.3