qj-common 4.1.3 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/request.js +1 -0
package/package.json
CHANGED
package/src/utils/request.js
CHANGED
|
@@ -295,6 +295,7 @@ service.interceptors.response.use(
|
|
|
295
295
|
proappEnvLayout = JSON.parse(isRedirect);
|
|
296
296
|
}
|
|
297
297
|
window.sessionStorage.clear();
|
|
298
|
+
window.localStorage.clear();
|
|
298
299
|
let nJson = JSON.parse(res.data.dataObj);
|
|
299
300
|
let nUrl = window.location.origin + window.location.pathname + window.location.hash.split('?')[0];
|
|
300
301
|
if (window.location.hash.split('?')[1]) {
|