@indfnd/common 1.0.38 → 1.0.39
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 +10 -11
- package/dist/ind-common.umd.cjs +17 -17
- 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
|
+
### [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
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 菜单复用的标题处理,不使用uri进行tag内的匹配 ([1bcc7e4](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/1bcc7e4bcfaf4007c5a9333edb62aaf1c1b6a8c6))
|
|
11
|
+
|
|
5
12
|
### [1.0.38](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.37...v1.0.38) (2024-08-01)
|
|
6
13
|
|
|
7
14
|
|
package/dist/ind-common.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Drawer$1, Dropdown as Dropdown$1, Modal as Modal$1, Form, FormItem, Select as Select$1, Option, Row, Col, Menu, MenuItem, Badge, DropdownMenu, DropdownItem, Submenu, Tag, Header, Layout, Content, Spin, Poptip as Poptip$1, CheckboxGroup, Checkbox, RadioGroup, Radio, Card, Message, LoadingBar } from "view-design";
|
|
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,
|
|
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
5
|
const version = "1.0.38";
|
|
@@ -59460,22 +59460,21 @@ const __vue2_script$B = {
|
|
|
59460
59460
|
if (top == self) {
|
|
59461
59461
|
this.title = this.$route.meta.title;
|
|
59462
59462
|
} else {
|
|
59463
|
-
|
|
59464
|
-
|
|
59465
|
-
|
|
59463
|
+
const tagList = getLocalStorage("ibp-sc-tagNavList") || [];
|
|
59464
|
+
const activeName = getSessionStorage("activeName") || "";
|
|
59465
|
+
const activeNameTag = _.find(tagList, { name: activeName }) || {};
|
|
59466
|
+
const activeTagPermissionId = activeNameTag.permissionId;
|
|
59467
|
+
const routePermissionId = this.$route.meta.permissionId;
|
|
59468
|
+
if (activeTagPermissionId === routePermissionId) {
|
|
59469
|
+
this.title = activeName;
|
|
59470
|
+
} else {
|
|
59471
|
+
this.title = this.$route.meta.title;
|
|
59466
59472
|
}
|
|
59467
|
-
let curTag = _.find(tagList, (d) => {
|
|
59468
|
-
return d.uri == this.$route.path;
|
|
59469
|
-
});
|
|
59470
|
-
this.title = curTag == null ? void 0 : curTag.name;
|
|
59471
59473
|
}
|
|
59472
59474
|
}
|
|
59473
59475
|
},
|
|
59474
59476
|
mounted() {
|
|
59475
59477
|
this.calcTitle();
|
|
59476
|
-
},
|
|
59477
|
-
activited() {
|
|
59478
|
-
this.calcTitle();
|
|
59479
59478
|
}
|
|
59480
59479
|
};
|
|
59481
59480
|
const __cssModules$B = {};
|