inl-ui 0.1.117 → 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.
@@ -8737,7 +8737,6 @@ const getDetailContainer = () => vue.defineComponent({
8737
8737
  if (newTab) {
8738
8738
  dataId.value = newTab;
8739
8739
  }
8740
- dataId.value = props.name + dataId.value;
8741
8740
  const tab = {
8742
8741
  name,
8743
8742
  url: route.fullPath,
@@ -8747,7 +8746,7 @@ const getDetailContainer = () => vue.defineComponent({
8747
8746
  isExtraTab: true,
8748
8747
  params: ___default["default"].omit(route.query, "name")
8749
8748
  };
8750
- 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);
8751
8750
  if (detail) {
8752
8751
  detail.url = newRoute.fullPath;
8753
8752
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -8776,7 +8775,7 @@ const getDetailContainer = () => vue.defineComponent({
8776
8775
  }
8777
8776
  });
8778
8777
  }
8779
- const activeTabKey = tab.uniqueKey;
8778
+ const activeTabKey = props.name + tab.uniqueKey;
8780
8779
  qiankunState.value = {
8781
8780
  ...(qiankunState.value ?? {}),
8782
8781
  activeTabKey
@@ -8709,7 +8709,6 @@ const getDetailContainer = () => defineComponent({
8709
8709
  if (newTab) {
8710
8710
  dataId.value = newTab;
8711
8711
  }
8712
- dataId.value = props.name + dataId.value;
8713
8712
  const tab = {
8714
8713
  name,
8715
8714
  url: route.fullPath,
@@ -8719,7 +8718,7 @@ const getDetailContainer = () => defineComponent({
8719
8718
  isExtraTab: true,
8720
8719
  params: _.omit(route.query, "name")
8721
8720
  };
8722
- 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);
8723
8722
  if (detail) {
8724
8723
  detail.url = newRoute.fullPath;
8725
8724
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -8748,7 +8747,7 @@ const getDetailContainer = () => defineComponent({
8748
8747
  }
8749
8748
  });
8750
8749
  }
8751
- const activeTabKey = tab.uniqueKey;
8750
+ const activeTabKey = props.name + tab.uniqueKey;
8752
8751
  qiankunState.value = {
8753
8752
  ...(qiankunState.value ?? {}),
8754
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.116";
46
+ var version = "0.1.117";
47
47
 
48
48
  const setTheme = theme => {
49
49
  if (theme === "dark") {
@@ -9723,7 +9723,6 @@ const getDetailContainer = () => vue.defineComponent({
9723
9723
  if (newTab) {
9724
9724
  dataId.value = newTab;
9725
9725
  }
9726
- dataId.value = props.name + dataId.value;
9727
9726
  const tab = {
9728
9727
  name,
9729
9728
  url: route.fullPath,
@@ -9733,7 +9732,7 @@ const getDetailContainer = () => vue.defineComponent({
9733
9732
  isExtraTab: true,
9734
9733
  params: ___default["default"].omit(route.query, "name")
9735
9734
  };
9736
- 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);
9737
9736
  if (detail) {
9738
9737
  detail.url = newRoute.fullPath;
9739
9738
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -9762,7 +9761,7 @@ const getDetailContainer = () => vue.defineComponent({
9762
9761
  }
9763
9762
  });
9764
9763
  }
9765
- const activeTabKey = tab.uniqueKey;
9764
+ const activeTabKey = props.name + tab.uniqueKey;
9766
9765
  qiankunState.value = {
9767
9766
  ...(qiankunState.value ?? {}),
9768
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.116";
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.116";
16
+ var version = "0.1.117";
17
17
 
18
18
  const setTheme = theme => {
19
19
  if (theme === "dark") {
@@ -9693,7 +9693,6 @@ const getDetailContainer = () => defineComponent({
9693
9693
  if (newTab) {
9694
9694
  dataId.value = newTab;
9695
9695
  }
9696
- dataId.value = props.name + dataId.value;
9697
9696
  const tab = {
9698
9697
  name,
9699
9698
  url: route.fullPath,
@@ -9703,7 +9702,7 @@ const getDetailContainer = () => defineComponent({
9703
9702
  isExtraTab: true,
9704
9703
  params: _.omit(route.query, "name")
9705
9704
  };
9706
- 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);
9707
9706
  if (detail) {
9708
9707
  detail.url = newRoute.fullPath;
9709
9708
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -9732,7 +9731,7 @@ const getDetailContainer = () => defineComponent({
9732
9731
  }
9733
9732
  });
9734
9733
  }
9735
- const activeTabKey = tab.uniqueKey;
9734
+ const activeTabKey = props.name + tab.uniqueKey;
9736
9735
  qiankunState.value = {
9737
9736
  ...(qiankunState.value ?? {}),
9738
9737
  activeTabKey
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.117",
3
+ "version": "0.1.118",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",