@indfnd/common 1.1.21 → 1.1.24
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,22 @@
|
|
|
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.1.24](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.23...v1.1.24) (2025-11-20)
|
|
6
|
+
|
|
7
|
+
### [1.1.23](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.22...v1.1.23) (2025-11-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* 路由问题修复 ([93af1bf](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/93af1bff3fbd9bb15a833173c19f9d9f1a4851a3))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 帮助内容样式优化 ([2b74614](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/2b74614568bf785add5fd02aa204599918da8c11))
|
|
18
|
+
|
|
19
|
+
### [1.1.22](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.21...v1.1.22) (2025-11-20)
|
|
20
|
+
|
|
5
21
|
### [1.1.21](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.20...v1.1.21) (2025-11-20)
|
|
6
22
|
|
|
7
23
|
### [1.1.20](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.19...v1.1.20) (2025-11-20)
|
package/dist/ind-common.es.js
CHANGED
|
@@ -5460,7 +5460,7 @@ var lodash = { exports: {} };
|
|
|
5460
5460
|
})(lodash, lodash.exports);
|
|
5461
5461
|
var _ = lodash.exports;
|
|
5462
5462
|
const name$1 = "@indfnd/common";
|
|
5463
|
-
const version = "1.1.
|
|
5463
|
+
const version = "1.1.23";
|
|
5464
5464
|
const author = "huxuetong";
|
|
5465
5465
|
const publishConfig = {
|
|
5466
5466
|
registry: "https://registry.npmjs.org/"
|
|
@@ -60722,7 +60722,7 @@ var render$E = function() {
|
|
|
60722
60722
|
_vm.show = false;
|
|
60723
60723
|
} }, model: { value: _vm.show, callback: function($$v) {
|
|
60724
60724
|
_vm.show = $$v;
|
|
60725
|
-
}, expression: "show" } }, [_vm.theContext != "" ? [_c("div", { domProps: { "innerHTML": _vm._s(_vm.theContext) } })] : [_vm.menuInfo.menuDesc ? _c("div", { staticClass: "ind-menu-help-panel" }, [_c("div", { staticClass: "ind-flex" }, [_c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u529F\u80FD\u8BF4\u660E\uFF1A")]), _c("div", { staticClass: "ind-menu-title-content" }, [_vm._v(" " + _vm._s(_vm.menuInfo.menuDesc) + " ")])]), _c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u6307\u6807\u5B9A\u4E49\uFF1A")]), _vm._l(_vm.menuInfo.indexList, function(item2, idx) {
|
|
60725
|
+
}, expression: "show" } }, [_vm.theContext != "" ? [_c("div", { staticClass: "ind-page-help-content-box", domProps: { "innerHTML": _vm._s(_vm.theContext) } })] : [_vm.menuInfo.menuDesc ? _c("div", { staticClass: "ind-menu-help-panel" }, [_c("div", { staticClass: "ind-flex" }, [_c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u529F\u80FD\u8BF4\u660E\uFF1A")]), _c("div", { staticClass: "ind-menu-title-content" }, [_vm._v(" " + _vm._s(_vm.menuInfo.menuDesc) + " ")])]), _c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u6307\u6807\u5B9A\u4E49\uFF1A")]), _vm._l(_vm.menuInfo.indexList, function(item2, idx) {
|
|
60726
60726
|
return _c("div", { key: "index" + idx, staticClass: "ind-menu-line-item" }, [_c("div", { staticClass: "ind-intent-1 ind-flex-no-shrink" }, [_vm._v(_vm._s(item2.indexName))]), _c("div", { staticClass: "ind-menu-desc-content" }, [_vm._v(" " + _vm._s(item2.indexRule) + " ")])]);
|
|
60727
60727
|
})], 2) : _c("div", { staticClass: "ind-empty" }, [_vm._v("\u6682\u65E0")])]], 2)], 1);
|
|
60728
60728
|
};
|
|
@@ -71794,7 +71794,7 @@ function permission2Router(list, microType) {
|
|
|
71794
71794
|
let tempList = [];
|
|
71795
71795
|
for (const item2 of list) {
|
|
71796
71796
|
tempList.push({
|
|
71797
|
-
path: dealRoutePath(item2.uri
|
|
71797
|
+
path: dealRoutePath(item2.uri),
|
|
71798
71798
|
uri: item2.uri,
|
|
71799
71799
|
name: item2.permissionValue,
|
|
71800
71800
|
meta: {
|
|
@@ -71826,7 +71826,7 @@ function listToMenuTree({ list, menuTree, pageNode, parentId, crumbs, root, micr
|
|
|
71826
71826
|
type,
|
|
71827
71827
|
name: name2,
|
|
71828
71828
|
pid,
|
|
71829
|
-
path: dealRoutePath(uri
|
|
71829
|
+
path: dealRoutePath(uri),
|
|
71830
71830
|
uri,
|
|
71831
71831
|
component: name2,
|
|
71832
71832
|
meta: {
|
|
@@ -71863,7 +71863,7 @@ function listToMenuTree({ list, menuTree, pageNode, parentId, crumbs, root, micr
|
|
|
71863
71863
|
type,
|
|
71864
71864
|
name: name2,
|
|
71865
71865
|
pid,
|
|
71866
|
-
path: dealRoutePath(uri
|
|
71866
|
+
path: dealRoutePath(uri),
|
|
71867
71867
|
uri,
|
|
71868
71868
|
component: name2,
|
|
71869
71869
|
meta: {
|
|
@@ -71889,9 +71889,8 @@ function dealRoutePath(uri, microType) {
|
|
|
71889
71889
|
if (!uri.startsWith("/")) {
|
|
71890
71890
|
uri = `/${uri}`;
|
|
71891
71891
|
}
|
|
71892
|
-
|
|
71893
|
-
|
|
71894
|
-
uri = uri.replace(routerBase, "");
|
|
71892
|
+
if (uri.startsWith(`/${config$1.routerBase}`)) {
|
|
71893
|
+
uri = uri.replace(/^\/ind([^/]{1,})/, "");
|
|
71895
71894
|
}
|
|
71896
71895
|
if (uri.includes("?")) {
|
|
71897
71896
|
uri = uri.split("?")[0];
|