From 04dc8530bf6241573fe788e0e74a5cf4d9a8e0b3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 25 八月 2022 18:29:56 +0800
Subject: [PATCH] 2022-08-25

---
 src/api/index.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/api/index.js b/src/api/index.js
index d57ee32..1311362 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -42,11 +42,6 @@
 
 const setCurrentUrl = (res) => {
   if (!!(window.history && window.history.pushState)) {
-    if (window.location.href.indexOf('paramsmain') > -1) {
-      let _href = window.location.href.split('#')
-      localStorage.setItem(_href[0] + 'paramsmain', _href[1])
-    }
-
     sessionStorage.clear()
     sessionStorage.setItem('loginError', JSON.stringify({url: res.config ? res.config.url : '', request: res.config ? res.config.data : '', response: JSON.stringify(res.data)}))
     window.history.replaceState(null, null, window.location.href.split('#')[0] + '#/login')

--
Gitblit v1.8.0