File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
packages/@vue/cli-ui/src/views Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 28
28
</div >
29
29
</template >
30
30
31
+ <VueLoadingIndicator
32
+ v-else
33
+ class =" loading"
34
+ />
35
+
31
36
<div class =" actions-bar" >
32
37
<VueButton
33
38
v-if =" configuration && configuration.link"
@@ -102,13 +107,15 @@ export default {
102
107
id: this .id
103
108
}
104
109
},
110
+ manual: true ,
105
111
async result ({ data, loading }) {
106
112
if (! this .$_init && ! loading && data && data .configuration ) {
107
113
this .$_init = true
108
114
this .tabsHaveChanges = data .configuration .tabs .reduce ((obj , tab ) => {
109
115
obj[tab .id ] = false
110
116
return obj
111
117
}, {})
118
+ this .configuration = data .configuration
112
119
await this .$nextTick ()
113
120
this .currentTab = data .configuration .tabs [0 ].id
114
121
}
@@ -136,6 +143,7 @@ export default {
136
143
methods: {
137
144
init (tab ) {
138
145
this .currentTab = ' __default'
146
+ this .configuration = null
139
147
this .$_init = false
140
148
},
141
149
@@ -176,9 +184,12 @@ export default {
176
184
align-items stretch
177
185
height 100%
178
186
179
- .content
187
+ .content ,
188
+ .loading
180
189
flex 100% 1 1
181
190
height 0
191
+
192
+ .content
182
193
overflow-x hidden
183
194
overflow-y auto
184
195
You can’t perform that action at this time.
0 commit comments