Thanks to visit codestin.com Credit goes to github.com
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 d983fcc commit 55abcc0Copy full SHA for 55abcc0
packages/app-backend-vue3/src/components/data.ts
@@ -193,9 +193,10 @@ function processSetupState(instance) {
193
let result: any
194
195
let isOther = typeof value === 'function'
196
- || typeof value?.render === 'function'
197
- || typeof value?.__asyncLoader === 'function'
198
- || (typeof value === 'object' && value && ('setup' in value || 'props' in value))
+ || typeof value?.render === 'function' // Components
+ || typeof value?.__asyncLoader === 'function' // Components
+ || (typeof value === 'object' && value && ('setup' in value || 'props' in value)) // Components
199
+ || /^v[A-Z]/.test(key) // Directives
200
201
if (rawData) {
202
const info = getSetupStateInfo(rawData)
0 commit comments