inl-ui 0.1.116 → 0.1.118

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.
@@ -8741,12 +8741,12 @@ const getDetailContainer = () => vue.defineComponent({
8741
8741
  name,
8742
8742
  url: route.fullPath,
8743
8743
  key: props.name,
8744
- uniqueKey: props.name + dataId.value,
8744
+ uniqueKey: dataId.value,
8745
8745
  icon: props.icon,
8746
8746
  isExtraTab: true,
8747
8747
  params: ___default["default"].omit(route.query, "name")
8748
8748
  };
8749
- const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
8749
+ const detail = detailList.value.find(item => item.key + item.uniqueKey === tab.key + tab.uniqueKey);
8750
8750
  if (detail) {
8751
8751
  detail.url = newRoute.fullPath;
8752
8752
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -8775,7 +8775,7 @@ const getDetailContainer = () => vue.defineComponent({
8775
8775
  }
8776
8776
  });
8777
8777
  }
8778
- const activeTabKey = tab.uniqueKey;
8778
+ const activeTabKey = props.name + tab.uniqueKey;
8779
8779
  qiankunState.value = {
8780
8780
  ...(qiankunState.value ?? {}),
8781
8781
  activeTabKey
@@ -8713,12 +8713,12 @@ const getDetailContainer = () => defineComponent({
8713
8713
  name,
8714
8714
  url: route.fullPath,
8715
8715
  key: props.name,
8716
- uniqueKey: props.name + dataId.value,
8716
+ uniqueKey: dataId.value,
8717
8717
  icon: props.icon,
8718
8718
  isExtraTab: true,
8719
8719
  params: _.omit(route.query, "name")
8720
8720
  };
8721
- const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
8721
+ const detail = detailList.value.find(item => item.key + item.uniqueKey === tab.key + tab.uniqueKey);
8722
8722
  if (detail) {
8723
8723
  detail.url = newRoute.fullPath;
8724
8724
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -8747,7 +8747,7 @@ const getDetailContainer = () => defineComponent({
8747
8747
  }
8748
8748
  });
8749
8749
  }
8750
- const activeTabKey = tab.uniqueKey;
8750
+ const activeTabKey = props.name + tab.uniqueKey;
8751
8751
  qiankunState.value = {
8752
8752
  ...(qiankunState.value ?? {}),
8753
8753
  activeTabKey
package/dist/index.cjs CHANGED
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios$2);
43
43
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
44
44
  var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
45
45
 
46
- var version = "0.1.115";
46
+ var version = "0.1.117";
47
47
 
48
48
  const setTheme = theme => {
49
49
  if (theme === "dark") {
@@ -9727,12 +9727,12 @@ const getDetailContainer = () => vue.defineComponent({
9727
9727
  name,
9728
9728
  url: route.fullPath,
9729
9729
  key: props.name,
9730
- uniqueKey: props.name + dataId.value,
9730
+ uniqueKey: dataId.value,
9731
9731
  icon: props.icon,
9732
9732
  isExtraTab: true,
9733
9733
  params: ___default["default"].omit(route.query, "name")
9734
9734
  };
9735
- const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
9735
+ const detail = detailList.value.find(item => item.key + item.uniqueKey === tab.key + tab.uniqueKey);
9736
9736
  if (detail) {
9737
9737
  detail.url = newRoute.fullPath;
9738
9738
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -9761,7 +9761,7 @@ const getDetailContainer = () => vue.defineComponent({
9761
9761
  }
9762
9762
  });
9763
9763
  }
9764
- const activeTabKey = tab.uniqueKey;
9764
+ const activeTabKey = props.name + tab.uniqueKey;
9765
9765
  qiankunState.value = {
9766
9766
  ...(qiankunState.value ?? {}),
9767
9767
  activeTabKey
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
11
11
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
12
12
  import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
13
13
 
14
- var version = "0.1.115";
14
+ var version = "0.1.117";
15
15
 
16
16
  declare const _default$p: {
17
17
  set(theme: string): void;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
13
13
  import { marked } from 'marked';
14
14
  import '@sszj-temp/mobile/style.css';
15
15
 
16
- var version = "0.1.115";
16
+ var version = "0.1.117";
17
17
 
18
18
  const setTheme = theme => {
19
19
  if (theme === "dark") {
@@ -9697,12 +9697,12 @@ const getDetailContainer = () => defineComponent({
9697
9697
  name,
9698
9698
  url: route.fullPath,
9699
9699
  key: props.name,
9700
- uniqueKey: props.name + dataId.value,
9700
+ uniqueKey: dataId.value,
9701
9701
  icon: props.icon,
9702
9702
  isExtraTab: true,
9703
9703
  params: _.omit(route.query, "name")
9704
9704
  };
9705
- const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
9705
+ const detail = detailList.value.find(item => item.key + item.uniqueKey === tab.key + tab.uniqueKey);
9706
9706
  if (detail) {
9707
9707
  detail.url = newRoute.fullPath;
9708
9708
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -9731,7 +9731,7 @@ const getDetailContainer = () => defineComponent({
9731
9731
  }
9732
9732
  });
9733
9733
  }
9734
- const activeTabKey = tab.uniqueKey;
9734
+ const activeTabKey = props.name + tab.uniqueKey;
9735
9735
  qiankunState.value = {
9736
9736
  ...(qiankunState.value ?? {}),
9737
9737
  activeTabKey
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.116",
3
+ "version": "0.1.118",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",