Skip to content

Commit

Permalink
feat(vue3): inspector: skip composables (key starts with 'use')
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Oct 18, 2022
1 parent f85bd25 commit 812410f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-backend-vue3/src/components/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function processState (instance) {
function processSetupState (instance) {
const raw = instance.devtoolsRawSetupState || {}
return Object.keys(instance.setupState)
.filter(key => !vueBuiltins.includes(key))
.filter(key => !vueBuiltins.includes(key) && !key.startsWith('use'))
.map(key => {
const value = returnError(() => toRaw(instance.setupState[key]))

Expand Down

0 comments on commit 812410f

Please sign in to comment.