@indfnd/common 0.1.57 → 0.1.59

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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.59](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.58...v0.1.59) (2024-05-04)
6
+
7
+ ### [0.1.58](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.57...v0.1.58) (2024-05-04)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * 云庭环境登录成功不清除permission缓存 ([58bc715](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/58bc715dcbf044759e74e8789727ba9b0db2b652))
13
+
5
14
  ### [0.1.57](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.56...v0.1.57) (2024-04-30)
6
15
 
7
16
 
@@ -2,7 +2,7 @@ import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Draw
2
2
  import { isNil, formatDate as formatDate$1, useConfig, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, uuid, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, getPermissionCache, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, getLocalStorage, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
3
3
  import Vue$1 from "vue";
4
4
  const name$1 = "@indfnd/common";
5
- const version = "0.1.56";
5
+ const version = "0.1.58";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -64509,7 +64509,9 @@ var user = {
64509
64509
  clearUserInfoCache();
64510
64510
  commit2("setToken", token);
64511
64511
  commit2("setTagNavList", []);
64512
- clearPermissionCache();
64512
+ if (window.top === window.self) {
64513
+ clearPermissionCache();
64514
+ }
64513
64515
  },
64514
64516
  async handleLogout({ state, commit: commit2 }) {
64515
64517
  await logoutApi(state.token);