inl-ui 0.1.114 → 0.1.116

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,14 +8741,12 @@ const getDetailContainer = () => vue.defineComponent({
8741
8741
  name,
8742
8742
  url: route.fullPath,
8743
8743
  key: props.name,
8744
- uniqueKey: dataId.value,
8744
+ uniqueKey: props.name + dataId.value,
8745
8745
  icon: props.icon,
8746
8746
  isExtraTab: true,
8747
8747
  params: ___default["default"].omit(route.query, "name")
8748
8748
  };
8749
8749
  const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
8750
- console.log("tab", tab);
8751
- debugger;
8752
8750
  if (detail) {
8753
8751
  detail.url = newRoute.fullPath;
8754
8752
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -8777,12 +8775,12 @@ const getDetailContainer = () => vue.defineComponent({
8777
8775
  }
8778
8776
  });
8779
8777
  }
8780
- const activeTabKey = props.name + tab.uniqueKey;
8778
+ const activeTabKey = tab.uniqueKey;
8781
8779
  qiankunState.value = {
8782
8780
  ...(qiankunState.value ?? {}),
8783
8781
  activeTabKey
8784
8782
  };
8785
- }, 500, {
8783
+ }, 300, {
8786
8784
  leading: true,
8787
8785
  trailing: false
8788
8786
  });
@@ -8713,14 +8713,12 @@ const getDetailContainer = () => defineComponent({
8713
8713
  name,
8714
8714
  url: route.fullPath,
8715
8715
  key: props.name,
8716
- uniqueKey: dataId.value,
8716
+ uniqueKey: props.name + dataId.value,
8717
8717
  icon: props.icon,
8718
8718
  isExtraTab: true,
8719
8719
  params: _.omit(route.query, "name")
8720
8720
  };
8721
8721
  const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
8722
- console.log("tab", tab);
8723
- debugger;
8724
8722
  if (detail) {
8725
8723
  detail.url = newRoute.fullPath;
8726
8724
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -8749,12 +8747,12 @@ const getDetailContainer = () => defineComponent({
8749
8747
  }
8750
8748
  });
8751
8749
  }
8752
- const activeTabKey = props.name + tab.uniqueKey;
8750
+ const activeTabKey = tab.uniqueKey;
8753
8751
  qiankunState.value = {
8754
8752
  ...(qiankunState.value ?? {}),
8755
8753
  activeTabKey
8756
8754
  };
8757
- }, 500, {
8755
+ }, 300, {
8758
8756
  leading: true,
8759
8757
  trailing: false
8760
8758
  });
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.113";
46
+ var version = "0.1.115";
47
47
 
48
48
  const setTheme = theme => {
49
49
  if (theme === "dark") {
@@ -9727,14 +9727,12 @@ const getDetailContainer = () => vue.defineComponent({
9727
9727
  name,
9728
9728
  url: route.fullPath,
9729
9729
  key: props.name,
9730
- uniqueKey: dataId.value,
9730
+ uniqueKey: props.name + dataId.value,
9731
9731
  icon: props.icon,
9732
9732
  isExtraTab: true,
9733
9733
  params: ___default["default"].omit(route.query, "name")
9734
9734
  };
9735
9735
  const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
9736
- console.log("tab", tab);
9737
- debugger;
9738
9736
  if (detail) {
9739
9737
  detail.url = newRoute.fullPath;
9740
9738
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -9763,12 +9761,12 @@ const getDetailContainer = () => vue.defineComponent({
9763
9761
  }
9764
9762
  });
9765
9763
  }
9766
- const activeTabKey = props.name + tab.uniqueKey;
9764
+ const activeTabKey = tab.uniqueKey;
9767
9765
  qiankunState.value = {
9768
9766
  ...(qiankunState.value ?? {}),
9769
9767
  activeTabKey
9770
9768
  };
9771
- }, 500, {
9769
+ }, 300, {
9772
9770
  leading: true,
9773
9771
  trailing: false
9774
9772
  });
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.113";
14
+ var version = "0.1.115";
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.113";
16
+ var version = "0.1.115";
17
17
 
18
18
  const setTheme = theme => {
19
19
  if (theme === "dark") {
@@ -9697,14 +9697,12 @@ const getDetailContainer = () => defineComponent({
9697
9697
  name,
9698
9698
  url: route.fullPath,
9699
9699
  key: props.name,
9700
- uniqueKey: dataId.value,
9700
+ uniqueKey: props.name + dataId.value,
9701
9701
  icon: props.icon,
9702
9702
  isExtraTab: true,
9703
9703
  params: _.omit(route.query, "name")
9704
9704
  };
9705
9705
  const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
9706
- console.log("tab", tab);
9707
- debugger;
9708
9706
  if (detail) {
9709
9707
  detail.url = newRoute.fullPath;
9710
9708
  if (Array.isArray(qiankunState.value.extraTabs)) {
@@ -9733,12 +9731,12 @@ const getDetailContainer = () => defineComponent({
9733
9731
  }
9734
9732
  });
9735
9733
  }
9736
- const activeTabKey = props.name + tab.uniqueKey;
9734
+ const activeTabKey = tab.uniqueKey;
9737
9735
  qiankunState.value = {
9738
9736
  ...(qiankunState.value ?? {}),
9739
9737
  activeTabKey
9740
9738
  };
9741
- }, 500, {
9739
+ }, 300, {
9742
9740
  leading: true,
9743
9741
  trailing: false
9744
9742
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.114",
3
+ "version": "0.1.116",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",