Skip to content

Commit

Permalink
fix(component): filtering components of third-party libraries to scri…
Browse files Browse the repository at this point in the history
…pt(other) (#2082)
  • Loading branch information
KaevN authored Feb 4, 2024
1 parent 4b09a22 commit dbea1f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/app-backend-vue3/src/components/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ function processSetupState (instance) {

let isOther = typeof value === 'function' ||
typeof value?.render === 'function' ||
typeof value?.__asyncLoader === 'function'
typeof value?.__asyncLoader === 'function' ||
typeof value === 'object' && ('setup' in value || 'props' in value)

if (rawData) {
const info = getSetupStateInfo(rawData)
Expand Down

0 comments on commit dbea1f0

Please sign in to comment.