@indfnd/common 1.0.39 → 1.0.40
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 +8 -0
- package/dist/ind-common.es.js +15 -6
- package/dist/ind-common.umd.cjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
|
+
### [1.0.40](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.39...v1.0.40) (2024-08-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 菜单复用的标题处理,不使用uri进行tag内的匹配 ([2e57915](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/2e57915c2091906f30f0ee0e2b0bf7b3a3344c51))
|
|
11
|
+
* 动态路由组织逻辑修改,将原始uri存入路由表meta中 ([9604a01](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/9604a01f414ed1a21a1b37cd282286a0283d16f5))
|
|
12
|
+
|
|
5
13
|
### [1.0.39](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.38...v1.0.39) (2024-08-02)
|
|
6
14
|
|
|
7
15
|
|
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, getLocalStorage, getSessionStorage, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, listComTreeApi, listUserTreeApi, UC_ENUM, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, setSessionStorage, getAppListApi, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, getIndexDescCache, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
|
|
3
3
|
import Vue$1 from "vue";
|
|
4
4
|
const name$1 = "@indfnd/common";
|
|
5
|
-
const version = "1.0.
|
|
5
|
+
const version = "1.0.39";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -59463,9 +59463,9 @@ const __vue2_script$B = {
|
|
|
59463
59463
|
const tagList = getLocalStorage("ibp-sc-tagNavList") || [];
|
|
59464
59464
|
const activeName = getSessionStorage("activeName") || "";
|
|
59465
59465
|
const activeNameTag = _.find(tagList, { name: activeName }) || {};
|
|
59466
|
-
const
|
|
59467
|
-
const
|
|
59468
|
-
if (
|
|
59466
|
+
const activeUri = activeNameTag.uri;
|
|
59467
|
+
const routeUri = this.$route.meta.data.uri;
|
|
59468
|
+
if (activeUri === routeUri) {
|
|
59469
59469
|
this.title = activeName;
|
|
59470
59470
|
} else {
|
|
59471
59471
|
this.title = this.$route.meta.title;
|
|
@@ -66935,7 +66935,15 @@ function listToMenuTree({ list, menuTree, pageNode, parentId, crumbs, root, micr
|
|
|
66935
66935
|
path: dealRoutePath(uri, microType),
|
|
66936
66936
|
uri,
|
|
66937
66937
|
component: name2,
|
|
66938
|
-
meta: {
|
|
66938
|
+
meta: {
|
|
66939
|
+
appId,
|
|
66940
|
+
permissionId,
|
|
66941
|
+
title,
|
|
66942
|
+
icon,
|
|
66943
|
+
crumbs: [...crumbs],
|
|
66944
|
+
activeName: name2,
|
|
66945
|
+
data: item2
|
|
66946
|
+
},
|
|
66939
66947
|
children: []
|
|
66940
66948
|
};
|
|
66941
66949
|
node.meta.crumbs.push({ icon, name: name2, title, type });
|
|
@@ -66971,7 +66979,8 @@ function listToMenuTree({ list, menuTree, pageNode, parentId, crumbs, root, micr
|
|
|
66971
66979
|
hideInMenu: true,
|
|
66972
66980
|
notCache: true,
|
|
66973
66981
|
crumbs: [...crumbs],
|
|
66974
|
-
type
|
|
66982
|
+
type,
|
|
66983
|
+
data: item2
|
|
66975
66984
|
}
|
|
66976
66985
|
};
|
|
66977
66986
|
child.meta.crumbs.push({ icon, name: name2, title, type });
|