@indfnd/common 0.1.83 → 0.1.84
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 +7 -0
- package/dist/ind-common.es.js +16 -6
- package/dist/ind-common.umd.cjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.84](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.83...v0.1.84) (2024-06-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* layout title逻辑修改 ([f8d5b17](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/f8d5b171a980517943dbafe87996927f1c7ad272))
|
|
11
|
+
|
|
5
12
|
### [0.1.83](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.82...v0.1.83) (2024-06-04)
|
|
6
13
|
|
|
7
14
|
|
package/dist/ind-common.es.js
CHANGED
|
@@ -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.
|
|
5
|
+
const version = "0.1.83";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -57503,7 +57503,11 @@ const __vue2_script$B = {
|
|
|
57503
57503
|
},
|
|
57504
57504
|
computed: {
|
|
57505
57505
|
title() {
|
|
57506
|
-
|
|
57506
|
+
if (top == self) {
|
|
57507
|
+
return this.$route.meta.title;
|
|
57508
|
+
} else {
|
|
57509
|
+
return top.document.getElementsByClassName("pro-layout-tabs-wrapper")[0].getElementsByClassName("ivu-tag-primary")[0].textContent.replace(/\s/g, "");
|
|
57510
|
+
}
|
|
57507
57511
|
}
|
|
57508
57512
|
},
|
|
57509
57513
|
methods: {
|
|
@@ -57625,7 +57629,11 @@ const __vue2_script$z = {
|
|
|
57625
57629
|
},
|
|
57626
57630
|
computed: {
|
|
57627
57631
|
title() {
|
|
57628
|
-
|
|
57632
|
+
if (top == self) {
|
|
57633
|
+
return this.$route.meta.title;
|
|
57634
|
+
} else {
|
|
57635
|
+
return top.document.getElementsByClassName("pro-layout-tabs-wrapper")[0].getElementsByClassName("ivu-tag-primary")[0].textContent.replace(/\s/g, "");
|
|
57636
|
+
}
|
|
57629
57637
|
}
|
|
57630
57638
|
}
|
|
57631
57639
|
};
|
|
@@ -64525,9 +64533,11 @@ function addRouterGuards({ router, store: store2, microType, allowPermissionList
|
|
|
64525
64533
|
credentials: "include"
|
|
64526
64534
|
}
|
|
64527
64535
|
).then((response) => response.json()).then((jsonData) => {
|
|
64528
|
-
|
|
64529
|
-
|
|
64530
|
-
|
|
64536
|
+
if (jsonData.token) {
|
|
64537
|
+
token = jsonData.token;
|
|
64538
|
+
sessionStorage.setItem("lambo-token", token);
|
|
64539
|
+
store2.dispatch("loginSuccess", token);
|
|
64540
|
+
}
|
|
64531
64541
|
});
|
|
64532
64542
|
}
|
|
64533
64543
|
if (!token && to.name !== LOGIN_PAGE_NAME) {
|