We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b35da4c commit e38c347Copy full SHA for e38c347
packages/app-backend-vue2/src/components/data.ts
@@ -190,13 +190,13 @@ function processState (instance): ComponentState[] {
190
191
192
function processSetupState (instance) {
193
- const state = instance._setupProxy
+ const state = instance._setupProxy || instance
194
const raw = instance._setupState
195
- if (!raw || !state) {
+ if (!raw) {
196
return []
197
}
198
199
- return Object.keys(state)
+ return Object.keys(raw)
200
.filter(key => !key.startsWith('__'))
201
.map(key => {
202
const value = returnError(() => toRaw(state[key]))
0 commit comments