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 9ad80cc commit d983fccCopy full SHA for d983fcc
packages/app-backend-vue3/src/components/data.ts
@@ -195,7 +195,7 @@ function processSetupState(instance) {
195
let isOther = typeof value === 'function'
196
|| typeof value?.render === 'function'
197
|| typeof value?.__asyncLoader === 'function'
198
- || (typeof value === 'object' && ('setup' in value || 'props' in value))
+ || (typeof value === 'object' && value && ('setup' in value || 'props' in value))
199
200
if (rawData) {
201
const info = getSetupStateInfo(rawData)
0 commit comments