inl-ui 0.1.97 → 0.1.99
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 -3
- package/dist/components/index.js +7 -3
- package/dist/index.cjs +8 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -4
- package/package.json +1 -1
|
@@ -8737,7 +8737,10 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8737
8737
|
};
|
|
8738
8738
|
console.log("tab4444444444444444", tab);
|
|
8739
8739
|
console.log("route4444444444444444", route);
|
|
8740
|
-
|
|
8740
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
8741
|
+
if (detail) {
|
|
8742
|
+
detail.url = route.fullPath;
|
|
8743
|
+
} else {
|
|
8741
8744
|
detailList.value.push({
|
|
8742
8745
|
...tab,
|
|
8743
8746
|
refreshKey: Date.now(),
|
|
@@ -8762,11 +8765,12 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
8762
8765
|
leading: true,
|
|
8763
8766
|
trailing: false
|
|
8764
8767
|
});
|
|
8765
|
-
vue.watch(() => route.params
|
|
8768
|
+
vue.watch(() => route.params, async val => {
|
|
8766
8769
|
if (!val || route.name !== props.name) return;
|
|
8767
8770
|
addTab(val);
|
|
8768
8771
|
}, {
|
|
8769
|
-
immediate: true
|
|
8772
|
+
immediate: true,
|
|
8773
|
+
deep: true
|
|
8770
8774
|
});
|
|
8771
8775
|
vue.onActivated(() => {
|
|
8772
8776
|
addTab(route.params.id);
|
package/dist/components/index.js
CHANGED
|
@@ -8709,7 +8709,10 @@ const getDetailContainer = () => defineComponent({
|
|
|
8709
8709
|
};
|
|
8710
8710
|
console.log("tab4444444444444444", tab);
|
|
8711
8711
|
console.log("route4444444444444444", route);
|
|
8712
|
-
|
|
8712
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
8713
|
+
if (detail) {
|
|
8714
|
+
detail.url = route.fullPath;
|
|
8715
|
+
} else {
|
|
8713
8716
|
detailList.value.push({
|
|
8714
8717
|
...tab,
|
|
8715
8718
|
refreshKey: Date.now(),
|
|
@@ -8734,11 +8737,12 @@ const getDetailContainer = () => defineComponent({
|
|
|
8734
8737
|
leading: true,
|
|
8735
8738
|
trailing: false
|
|
8736
8739
|
});
|
|
8737
|
-
watch(() => route.params
|
|
8740
|
+
watch(() => route.params, async val => {
|
|
8738
8741
|
if (!val || route.name !== props.name) return;
|
|
8739
8742
|
addTab(val);
|
|
8740
8743
|
}, {
|
|
8741
|
-
immediate: true
|
|
8744
|
+
immediate: true,
|
|
8745
|
+
deep: true
|
|
8742
8746
|
});
|
|
8743
8747
|
onActivated(() => {
|
|
8744
8748
|
addTab(route.params.id);
|
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.98";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -9723,7 +9723,10 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9723
9723
|
};
|
|
9724
9724
|
console.log("tab4444444444444444", tab);
|
|
9725
9725
|
console.log("route4444444444444444", route);
|
|
9726
|
-
|
|
9726
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
9727
|
+
if (detail) {
|
|
9728
|
+
detail.url = route.fullPath;
|
|
9729
|
+
} else {
|
|
9727
9730
|
detailList.value.push({
|
|
9728
9731
|
...tab,
|
|
9729
9732
|
refreshKey: Date.now(),
|
|
@@ -9748,11 +9751,12 @@ const getDetailContainer = () => vue.defineComponent({
|
|
|
9748
9751
|
leading: true,
|
|
9749
9752
|
trailing: false
|
|
9750
9753
|
});
|
|
9751
|
-
vue.watch(() => route.params
|
|
9754
|
+
vue.watch(() => route.params, async val => {
|
|
9752
9755
|
if (!val || route.name !== props.name) return;
|
|
9753
9756
|
addTab(val);
|
|
9754
9757
|
}, {
|
|
9755
|
-
immediate: true
|
|
9758
|
+
immediate: true,
|
|
9759
|
+
deep: true
|
|
9756
9760
|
});
|
|
9757
9761
|
vue.onActivated(() => {
|
|
9758
9762
|
addTab(route.params.id);
|
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.98";
|
|
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.98";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -9693,7 +9693,10 @@ const getDetailContainer = () => defineComponent({
|
|
|
9693
9693
|
};
|
|
9694
9694
|
console.log("tab4444444444444444", tab);
|
|
9695
9695
|
console.log("route4444444444444444", route);
|
|
9696
|
-
|
|
9696
|
+
const detail = detailList.value.find(item => item.uniqueKey === tab.uniqueKey);
|
|
9697
|
+
if (detail) {
|
|
9698
|
+
detail.url = route.fullPath;
|
|
9699
|
+
} else {
|
|
9697
9700
|
detailList.value.push({
|
|
9698
9701
|
...tab,
|
|
9699
9702
|
refreshKey: Date.now(),
|
|
@@ -9718,11 +9721,12 @@ const getDetailContainer = () => defineComponent({
|
|
|
9718
9721
|
leading: true,
|
|
9719
9722
|
trailing: false
|
|
9720
9723
|
});
|
|
9721
|
-
watch(() => route.params
|
|
9724
|
+
watch(() => route.params, async val => {
|
|
9722
9725
|
if (!val || route.name !== props.name) return;
|
|
9723
9726
|
addTab(val);
|
|
9724
9727
|
}, {
|
|
9725
|
-
immediate: true
|
|
9728
|
+
immediate: true,
|
|
9729
|
+
deep: true
|
|
9726
9730
|
});
|
|
9727
9731
|
onActivated(() => {
|
|
9728
9732
|
addTab(route.params.id);
|