@fishawack/lab-velocity 2.0.0-beta.58 → 2.0.0-beta.59
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.
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
v-for="(rendered, index) in renderedTabs"
|
|
33
33
|
:key="index"
|
|
34
34
|
>
|
|
35
|
-
<el-tab-pane :name="index">
|
|
35
|
+
<el-tab-pane :lazy="true" :name="index">
|
|
36
36
|
<template #label>
|
|
37
37
|
<span class="align-middle-dive">
|
|
38
38
|
<GIcon
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
</template>
|
|
64
64
|
|
|
65
65
|
<script>
|
|
66
|
-
import { h } from "vue";
|
|
66
|
+
import { h, shallowRef } from "vue";
|
|
67
67
|
import axios from "axios";
|
|
68
68
|
import VelSpinner from "../../../components/form/Spinner.vue";
|
|
69
69
|
import VelButton from "../../../components/basic/Button.vue";
|
|
@@ -95,9 +95,13 @@ export default {
|
|
|
95
95
|
},
|
|
96
96
|
},
|
|
97
97
|
|
|
98
|
+
setup() {
|
|
99
|
+
const model = shallowRef(null);
|
|
100
|
+
return { model };
|
|
101
|
+
},
|
|
102
|
+
|
|
98
103
|
data() {
|
|
99
104
|
return {
|
|
100
|
-
model: null,
|
|
101
105
|
active: 0,
|
|
102
106
|
};
|
|
103
107
|
},
|