inl-ui 0.1.100 → 0.1.101
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 +7 -7
- package/dist/components/index.js +7 -7
- package/dist/index.cjs +8 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/package.json +1 -1
|
@@ -8721,8 +8721,8 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8721
8721
|
};
|
|
8722
8722
|
}
|
|
8723
8723
|
};
|
|
8724
|
-
const addTab = ___default["default"].debounce(
|
|
8725
|
-
dataId.value =
|
|
8724
|
+
const addTab = ___default["default"].debounce(newRroute => {
|
|
8725
|
+
dataId.value = newRroute.params.id;
|
|
8726
8726
|
const {
|
|
8727
8727
|
name
|
|
8728
8728
|
} = route.query;
|
|
@@ -8730,7 +8730,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8730
8730
|
name,
|
|
8731
8731
|
url: route.fullPath,
|
|
8732
8732
|
key: props.name,
|
|
8733
|
-
uniqueKey:
|
|
8733
|
+
uniqueKey: newRroute.params.id,
|
|
8734
8734
|
icon: props.icon,
|
|
8735
8735
|
isExtraTab: true,
|
|
8736
8736
|
params: ___default["default"].omit(route.query, "name")
|
|
@@ -8740,7 +8740,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8740
8740
|
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
8741
8741
|
debugger;
|
|
8742
8742
|
if (detail) {
|
|
8743
|
-
detail.url =
|
|
8743
|
+
detail.url = newRroute.fullPath;
|
|
8744
8744
|
setTimeout(() => {
|
|
8745
8745
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
8746
8746
|
const extraTabs = [...qiankunState.value.extraTabs];
|
|
@@ -8754,7 +8754,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8754
8754
|
detailList.value.push({
|
|
8755
8755
|
...tab,
|
|
8756
8756
|
refreshKey: Date.now(),
|
|
8757
|
-
id:
|
|
8757
|
+
id: newRroute.params.id
|
|
8758
8758
|
});
|
|
8759
8759
|
setTimeout(() => {
|
|
8760
8760
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -8775,7 +8775,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8775
8775
|
leading: true,
|
|
8776
8776
|
trailing: false
|
|
8777
8777
|
});
|
|
8778
|
-
vue.watch(() => route
|
|
8778
|
+
vue.watch(() => route, async val => {
|
|
8779
8779
|
if (!val || route.name !== props.name) return;
|
|
8780
8780
|
addTab(val);
|
|
8781
8781
|
}, {
|
|
@@ -8783,7 +8783,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8783
8783
|
deep: true
|
|
8784
8784
|
});
|
|
8785
8785
|
vue.onActivated(() => {
|
|
8786
|
-
addTab(route
|
|
8786
|
+
addTab(route);
|
|
8787
8787
|
});
|
|
8788
8788
|
vue.watch(() => qiankunState.value?.refreshExtraTab, val => {
|
|
8789
8789
|
if (val) {
|
package/dist/components/index.js
CHANGED
|
@@ -8693,8 +8693,8 @@ const getDetailContainer = () => defineComponent({
|
|
|
8693
8693
|
};
|
|
8694
8694
|
}
|
|
8695
8695
|
};
|
|
8696
|
-
const addTab = _.debounce(
|
|
8697
|
-
dataId.value =
|
|
8696
|
+
const addTab = _.debounce(newRroute => {
|
|
8697
|
+
dataId.value = newRroute.params.id;
|
|
8698
8698
|
const {
|
|
8699
8699
|
name
|
|
8700
8700
|
} = route.query;
|
|
@@ -8702,7 +8702,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8702
8702
|
name,
|
|
8703
8703
|
url: route.fullPath,
|
|
8704
8704
|
key: props.name,
|
|
8705
|
-
uniqueKey:
|
|
8705
|
+
uniqueKey: newRroute.params.id,
|
|
8706
8706
|
icon: props.icon,
|
|
8707
8707
|
isExtraTab: true,
|
|
8708
8708
|
params: _.omit(route.query, "name")
|
|
@@ -8712,7 +8712,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8712
8712
|
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
8713
8713
|
debugger;
|
|
8714
8714
|
if (detail) {
|
|
8715
|
-
detail.url =
|
|
8715
|
+
detail.url = newRroute.fullPath;
|
|
8716
8716
|
setTimeout(() => {
|
|
8717
8717
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
8718
8718
|
const extraTabs = [...qiankunState.value.extraTabs];
|
|
@@ -8726,7 +8726,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8726
8726
|
detailList.value.push({
|
|
8727
8727
|
...tab,
|
|
8728
8728
|
refreshKey: Date.now(),
|
|
8729
|
-
id:
|
|
8729
|
+
id: newRroute.params.id
|
|
8730
8730
|
});
|
|
8731
8731
|
setTimeout(() => {
|
|
8732
8732
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -8747,7 +8747,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8747
8747
|
leading: true,
|
|
8748
8748
|
trailing: false
|
|
8749
8749
|
});
|
|
8750
|
-
watch(() => route
|
|
8750
|
+
watch(() => route, async val => {
|
|
8751
8751
|
if (!val || route.name !== props.name) return;
|
|
8752
8752
|
addTab(val);
|
|
8753
8753
|
}, {
|
|
@@ -8755,7 +8755,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8755
8755
|
deep: true
|
|
8756
8756
|
});
|
|
8757
8757
|
onActivated(() => {
|
|
8758
|
-
addTab(route
|
|
8758
|
+
addTab(route);
|
|
8759
8759
|
});
|
|
8760
8760
|
watch(() => qiankunState.value?.refreshExtraTab, val => {
|
|
8761
8761
|
if (val) {
|
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.100";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -9707,8 +9707,8 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9707
9707
|
};
|
|
9708
9708
|
}
|
|
9709
9709
|
};
|
|
9710
|
-
const addTab = ___default["default"].debounce(
|
|
9711
|
-
dataId.value =
|
|
9710
|
+
const addTab = ___default["default"].debounce(newRroute => {
|
|
9711
|
+
dataId.value = newRroute.params.id;
|
|
9712
9712
|
const {
|
|
9713
9713
|
name
|
|
9714
9714
|
} = route.query;
|
|
@@ -9716,7 +9716,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9716
9716
|
name,
|
|
9717
9717
|
url: route.fullPath,
|
|
9718
9718
|
key: props.name,
|
|
9719
|
-
uniqueKey:
|
|
9719
|
+
uniqueKey: newRroute.params.id,
|
|
9720
9720
|
icon: props.icon,
|
|
9721
9721
|
isExtraTab: true,
|
|
9722
9722
|
params: ___default["default"].omit(route.query, "name")
|
|
@@ -9726,7 +9726,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9726
9726
|
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
9727
9727
|
debugger;
|
|
9728
9728
|
if (detail) {
|
|
9729
|
-
detail.url =
|
|
9729
|
+
detail.url = newRroute.fullPath;
|
|
9730
9730
|
setTimeout(() => {
|
|
9731
9731
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
9732
9732
|
const extraTabs = [...qiankunState.value.extraTabs];
|
|
@@ -9740,7 +9740,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9740
9740
|
detailList.value.push({
|
|
9741
9741
|
...tab,
|
|
9742
9742
|
refreshKey: Date.now(),
|
|
9743
|
-
id:
|
|
9743
|
+
id: newRroute.params.id
|
|
9744
9744
|
});
|
|
9745
9745
|
setTimeout(() => {
|
|
9746
9746
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -9761,7 +9761,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9761
9761
|
leading: true,
|
|
9762
9762
|
trailing: false
|
|
9763
9763
|
});
|
|
9764
|
-
vue.watch(() => route
|
|
9764
|
+
vue.watch(() => route, async val => {
|
|
9765
9765
|
if (!val || route.name !== props.name) return;
|
|
9766
9766
|
addTab(val);
|
|
9767
9767
|
}, {
|
|
@@ -9769,7 +9769,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9769
9769
|
deep: true
|
|
9770
9770
|
});
|
|
9771
9771
|
vue.onActivated(() => {
|
|
9772
|
-
addTab(route
|
|
9772
|
+
addTab(route);
|
|
9773
9773
|
});
|
|
9774
9774
|
vue.watch(() => qiankunState.value?.refreshExtraTab, val => {
|
|
9775
9775
|
if (val) {
|
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.100";
|
|
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.100";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -9677,8 +9677,8 @@ const getDetailContainer = () => defineComponent({
|
|
|
9677
9677
|
};
|
|
9678
9678
|
}
|
|
9679
9679
|
};
|
|
9680
|
-
const addTab = _.debounce(
|
|
9681
|
-
dataId.value =
|
|
9680
|
+
const addTab = _.debounce(newRroute => {
|
|
9681
|
+
dataId.value = newRroute.params.id;
|
|
9682
9682
|
const {
|
|
9683
9683
|
name
|
|
9684
9684
|
} = route.query;
|
|
@@ -9686,7 +9686,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9686
9686
|
name,
|
|
9687
9687
|
url: route.fullPath,
|
|
9688
9688
|
key: props.name,
|
|
9689
|
-
uniqueKey:
|
|
9689
|
+
uniqueKey: newRroute.params.id,
|
|
9690
9690
|
icon: props.icon,
|
|
9691
9691
|
isExtraTab: true,
|
|
9692
9692
|
params: _.omit(route.query, "name")
|
|
@@ -9696,7 +9696,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9696
9696
|
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
9697
9697
|
debugger;
|
|
9698
9698
|
if (detail) {
|
|
9699
|
-
detail.url =
|
|
9699
|
+
detail.url = newRroute.fullPath;
|
|
9700
9700
|
setTimeout(() => {
|
|
9701
9701
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
9702
9702
|
const extraTabs = [...qiankunState.value.extraTabs];
|
|
@@ -9710,7 +9710,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9710
9710
|
detailList.value.push({
|
|
9711
9711
|
...tab,
|
|
9712
9712
|
refreshKey: Date.now(),
|
|
9713
|
-
id:
|
|
9713
|
+
id: newRroute.params.id
|
|
9714
9714
|
});
|
|
9715
9715
|
setTimeout(() => {
|
|
9716
9716
|
if (Array.isArray(qiankunState.value.extraTabs)) {
|
|
@@ -9731,7 +9731,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9731
9731
|
leading: true,
|
|
9732
9732
|
trailing: false
|
|
9733
9733
|
});
|
|
9734
|
-
watch(() => route
|
|
9734
|
+
watch(() => route, async val => {
|
|
9735
9735
|
if (!val || route.name !== props.name) return;
|
|
9736
9736
|
addTab(val);
|
|
9737
9737
|
}, {
|
|
@@ -9739,7 +9739,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9739
9739
|
deep: true
|
|
9740
9740
|
});
|
|
9741
9741
|
onActivated(() => {
|
|
9742
|
-
addTab(route
|
|
9742
|
+
addTab(route);
|
|
9743
9743
|
});
|
|
9744
9744
|
watch(() => qiankunState.value?.refreshExtraTab, val => {
|
|
9745
9745
|
if (val) {
|