inl-ui 0.1.96 → 0.1.98
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 -2
- package/dist/components/index.js +7 -2
- package/dist/index.cjs +8 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -3
- package/package.json +1 -1
|
@@ -8735,7 +8735,12 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8735
8735
|
isExtraTab: true,
|
|
8736
8736
|
params: ___default["default"].omit(route.query, "name")
|
|
8737
8737
|
};
|
|
8738
|
-
|
|
8738
|
+
console.log("tab4444444444444444", tab);
|
|
8739
|
+
console.log("route4444444444444444", route);
|
|
8740
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
8741
|
+
if (detail) {
|
|
8742
|
+
detail.url = route.fullPath;
|
|
8743
|
+
} else {
|
|
8739
8744
|
detailList.value.push({
|
|
8740
8745
|
...tab,
|
|
8741
8746
|
refreshKey: Date.now(),
|
|
@@ -8760,7 +8765,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8760
8765
|
leading: true,
|
|
8761
8766
|
trailing: false
|
|
8762
8767
|
});
|
|
8763
|
-
vue.watch(() => route.params
|
|
8768
|
+
vue.watch(() => route.params, async val => {
|
|
8764
8769
|
if (!val || route.name !== props.name) return;
|
|
8765
8770
|
addTab(val);
|
|
8766
8771
|
}, {
|
package/dist/components/index.js
CHANGED
|
@@ -8707,7 +8707,12 @@ const getDetailContainer = () => defineComponent({
|
|
|
8707
8707
|
isExtraTab: true,
|
|
8708
8708
|
params: _.omit(route.query, "name")
|
|
8709
8709
|
};
|
|
8710
|
-
|
|
8710
|
+
console.log("tab4444444444444444", tab);
|
|
8711
|
+
console.log("route4444444444444444", route);
|
|
8712
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
8713
|
+
if (detail) {
|
|
8714
|
+
detail.url = route.fullPath;
|
|
8715
|
+
} else {
|
|
8711
8716
|
detailList.value.push({
|
|
8712
8717
|
...tab,
|
|
8713
8718
|
refreshKey: Date.now(),
|
|
@@ -8732,7 +8737,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
8732
8737
|
leading: true,
|
|
8733
8738
|
trailing: false
|
|
8734
8739
|
});
|
|
8735
|
-
watch(() => route.params
|
|
8740
|
+
watch(() => route.params, async val => {
|
|
8736
8741
|
if (!val || route.name !== props.name) return;
|
|
8737
8742
|
addTab(val);
|
|
8738
8743
|
}, {
|
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.97";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -9721,7 +9721,12 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9721
9721
|
isExtraTab: true,
|
|
9722
9722
|
params: ___default["default"].omit(route.query, "name")
|
|
9723
9723
|
};
|
|
9724
|
-
|
|
9724
|
+
console.log("tab4444444444444444", tab);
|
|
9725
|
+
console.log("route4444444444444444", route);
|
|
9726
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
9727
|
+
if (detail) {
|
|
9728
|
+
detail.url = route.fullPath;
|
|
9729
|
+
} else {
|
|
9725
9730
|
detailList.value.push({
|
|
9726
9731
|
...tab,
|
|
9727
9732
|
refreshKey: Date.now(),
|
|
@@ -9746,7 +9751,7 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9746
9751
|
leading: true,
|
|
9747
9752
|
trailing: false
|
|
9748
9753
|
});
|
|
9749
|
-
vue.watch(() => route.params
|
|
9754
|
+
vue.watch(() => route.params, async val => {
|
|
9750
9755
|
if (!val || route.name !== props.name) return;
|
|
9751
9756
|
addTab(val);
|
|
9752
9757
|
}, {
|
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.97";
|
|
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.97";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -9691,7 +9691,12 @@ const getDetailContainer = () => defineComponent({
|
|
|
9691
9691
|
isExtraTab: true,
|
|
9692
9692
|
params: _.omit(route.query, "name")
|
|
9693
9693
|
};
|
|
9694
|
-
|
|
9694
|
+
console.log("tab4444444444444444", tab);
|
|
9695
|
+
console.log("route4444444444444444", route);
|
|
9696
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
9697
|
+
if (detail) {
|
|
9698
|
+
detail.url = route.fullPath;
|
|
9699
|
+
} else {
|
|
9695
9700
|
detailList.value.push({
|
|
9696
9701
|
...tab,
|
|
9697
9702
|
refreshKey: Date.now(),
|
|
@@ -9716,7 +9721,7 @@ const getDetailContainer = () => defineComponent({
|
|
|
9716
9721
|
leading: true,
|
|
9717
9722
|
trailing: false
|
|
9718
9723
|
});
|
|
9719
|
-
watch(() => route.params
|
|
9724
|
+
watch(() => route.params, async val => {
|
|
9720
9725
|
if (!val || route.name !== props.name) return;
|
|
9721
9726
|
addTab(val);
|
|
9722
9727
|
}, {
|