File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
packages/app-backend-vue3/src/components Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -176,11 +176,16 @@ function processState (instance) {
176
176
}
177
177
178
178
function processSetupState ( instance ) {
179
- const raw = instance . devtoolsRawSetupState || { }
180
- return Object . keys ( instance . setupState )
179
+ const raw = instance . devtoolsRawSetupState
180
+ const combinedSetupState = ( Object . keys ( instance . setupState ) . length
181
+ ? instance . setupState
182
+ : instance . exposed
183
+ ) || { }
184
+
185
+ return Object . keys ( combinedSetupState )
181
186
. filter ( key => ! vueBuiltins . includes ( key ) && key . split ( / (? = [ A - Z ] ) / ) [ 0 ] !== 'use' )
182
187
. map ( key => {
183
- const value = returnError ( ( ) => toRaw ( instance . setupState [ key ] ) )
188
+ const value = returnError ( ( ) => toRaw ( combinedSetupState [ key ] ) )
184
189
185
190
const rawData = raw [ key ]
186
191
You can’t perform that action at this time.
0 commit comments