imatrix-ui 2.9.15-boe6 → 2.9.15-boe8
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/auth-api.js +2 -0
package/package.json
CHANGED
package/src/utils/auth-api.js
CHANGED
|
@@ -67,6 +67,7 @@ function setCurrentUser(userInfo) {
|
|
|
67
67
|
|
|
68
68
|
function removeCurrentUser() {
|
|
69
69
|
removeSessionCache(currentUserInfoKey)
|
|
70
|
+
// 会导致cookie过大,后端没有设置请求头大小时,导致后端报错
|
|
70
71
|
removeCookieCache(currentUserInfoKey)
|
|
71
72
|
}
|
|
72
73
|
|
|
@@ -127,6 +128,7 @@ function setSystemCacheUrl(systemUrlObj) {
|
|
|
127
128
|
if (systemUrlObj) {
|
|
128
129
|
const systemUrlStr = JSON.stringify(systemUrlObj)
|
|
129
130
|
setSessionCache(currentSystemUrlKey, systemUrlStr)
|
|
131
|
+
// 会导致cookie过大,后端没有设置请求头大小时,导致后端报错
|
|
130
132
|
setCookieCache(currentSystemUrlKey, systemUrlStr)
|
|
131
133
|
}
|
|
132
134
|
}
|