inl-ui 0.1.121-mtapi → 0.1.122-mtapi
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/dist/components/index.cjs +4 -6
- package/dist/components/index.js +4 -6
- package/dist/index.cjs +5 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -7
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -8745,10 +8744,9 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8745
8744
|
uniqueKey: dataId.value,
|
|
8746
8745
|
icon: props.icon,
|
|
8747
8746
|
isExtraTab: true,
|
|
8748
|
-
params: ___default["default"].omit(route.query, "name")
|
|
8749
|
-
ogiginId: newRoute.params.id || newRoute.query.id
|
|
8747
|
+
params: ___default["default"].omit(route.query, "name")
|
|
8750
8748
|
};
|
|
8751
|
-
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);
|
|
8752
8750
|
if (detail) {
|
|
8753
8751
|
detail.url = newRoute.fullPath;
|
|
8754
8752
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -8777,7 +8775,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8777
8775
|
}
|
|
8778
8776
|
});
|
|
8779
8777
|
}
|
|
8780
|
-
const activeTabKey = tab.uniqueKey;
|
|
8778
|
+
const activeTabKey = props.name + tab.uniqueKey;
|
|
8781
8779
|
qiankunState.value = {
|
|
8782
8780
|
...(qiankunState.value ?? {}),
|
|
8783
8781
|
activeTabKey
|
|
@@ -8840,7 +8838,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8840
8838
|
}
|
|
8841
8839
|
}, [vue.createVNode(props.cpn, {
|
|
8842
8840
|
"key": item.id,
|
|
8843
|
-
"id": item.
|
|
8841
|
+
"id": item.id,
|
|
8844
8842
|
"isActive": isActive.value && isDetailActive,
|
|
8845
8843
|
"onClose": () => handleClose(item),
|
|
8846
8844
|
"onRefresh": () => handleRefresh(item)
|
package/dist/components/index.js
CHANGED
|
@@ -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,
|
|
@@ -8717,10 +8716,9 @@ const getDetailContainer = () => defineComponent({
|
|
|
8717
8716
|
uniqueKey: dataId.value,
|
|
8718
8717
|
icon: props.icon,
|
|
8719
8718
|
isExtraTab: true,
|
|
8720
|
-
params: _.omit(route.query, "name")
|
|
8721
|
-
ogiginId: newRoute.params.id || newRoute.query.id
|
|
8719
|
+
params: _.omit(route.query, "name")
|
|
8722
8720
|
};
|
|
8723
|
-
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);
|
|
8724
8722
|
if (detail) {
|
|
8725
8723
|
detail.url = newRoute.fullPath;
|
|
8726
8724
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -8749,7 +8747,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8749
8747
|
}
|
|
8750
8748
|
});
|
|
8751
8749
|
}
|
|
8752
|
-
const activeTabKey = tab.uniqueKey;
|
|
8750
|
+
const activeTabKey = props.name + tab.uniqueKey;
|
|
8753
8751
|
qiankunState.value = {
|
|
8754
8752
|
...(qiankunState.value ?? {}),
|
|
8755
8753
|
activeTabKey
|
|
@@ -8812,7 +8810,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8812
8810
|
}
|
|
8813
8811
|
}, [createVNode(props.cpn, {
|
|
8814
8812
|
"key": item.id,
|
|
8815
|
-
"id": item.
|
|
8813
|
+
"id": item.id,
|
|
8816
8814
|
"isActive": isActive.value && isDetailActive,
|
|
8817
8815
|
"onClose": () => handleClose(item),
|
|
8818
8816
|
"onRefresh": () => handleRefresh(item)
|
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.
|
|
46
|
+
var version = "0.1.122-mtapi";
|
|
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,
|
|
@@ -9731,10 +9730,9 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9731
9730
|
uniqueKey: dataId.value,
|
|
9732
9731
|
icon: props.icon,
|
|
9733
9732
|
isExtraTab: true,
|
|
9734
|
-
params: ___default["default"].omit(route.query, "name")
|
|
9735
|
-
ogiginId: newRoute.params.id || newRoute.query.id
|
|
9733
|
+
params: ___default["default"].omit(route.query, "name")
|
|
9736
9734
|
};
|
|
9737
|
-
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);
|
|
9738
9736
|
if (detail) {
|
|
9739
9737
|
detail.url = newRoute.fullPath;
|
|
9740
9738
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -9763,7 +9761,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9763
9761
|
}
|
|
9764
9762
|
});
|
|
9765
9763
|
}
|
|
9766
|
-
const activeTabKey = tab.uniqueKey;
|
|
9764
|
+
const activeTabKey = props.name + tab.uniqueKey;
|
|
9767
9765
|
qiankunState.value = {
|
|
9768
9766
|
...(qiankunState.value ?? {}),
|
|
9769
9767
|
activeTabKey
|
|
@@ -9826,7 +9824,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9826
9824
|
}
|
|
9827
9825
|
}, [vue.createVNode(props.cpn, {
|
|
9828
9826
|
"key": item.id,
|
|
9829
|
-
"id": item.
|
|
9827
|
+
"id": item.id,
|
|
9830
9828
|
"isActive": isActive.value && isDetailActive,
|
|
9831
9829
|
"onClose": () => handleClose(item),
|
|
9832
9830
|
"onRefresh": () => handleRefresh(item)
|
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.
|
|
14
|
+
var version = "0.1.122-mtapi";
|
|
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.
|
|
16
|
+
var version = "0.1.122-mtapi";
|
|
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,
|
|
@@ -9701,10 +9700,9 @@ const getDetailContainer = () => defineComponent({
|
|
|
9701
9700
|
uniqueKey: dataId.value,
|
|
9702
9701
|
icon: props.icon,
|
|
9703
9702
|
isExtraTab: true,
|
|
9704
|
-
params: _.omit(route.query, "name")
|
|
9705
|
-
ogiginId: newRoute.params.id || newRoute.query.id
|
|
9703
|
+
params: _.omit(route.query, "name")
|
|
9706
9704
|
};
|
|
9707
|
-
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);
|
|
9708
9706
|
if (detail) {
|
|
9709
9707
|
detail.url = newRoute.fullPath;
|
|
9710
9708
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -9733,7 +9731,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9733
9731
|
}
|
|
9734
9732
|
});
|
|
9735
9733
|
}
|
|
9736
|
-
const activeTabKey = tab.uniqueKey;
|
|
9734
|
+
const activeTabKey = props.name + tab.uniqueKey;
|
|
9737
9735
|
qiankunState.value = {
|
|
9738
9736
|
...(qiankunState.value ?? {}),
|
|
9739
9737
|
activeTabKey
|
|
@@ -9796,7 +9794,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9796
9794
|
}
|
|
9797
9795
|
}, [createVNode(props.cpn, {
|
|
9798
9796
|
"key": item.id,
|
|
9799
|
-
"id": item.
|
|
9797
|
+
"id": item.id,
|
|
9800
9798
|
"isActive": isActive.value && isDetailActive,
|
|
9801
9799
|
"onClose": () => handleClose(item),
|
|
9802
9800
|
"onRefresh": () => handleRefresh(item)
|