fix(canvas-renderer): 修复 isNative component 判断失效的 bug (#241)

This commit is contained in:
chilingling 2024-01-18 23:12:48 -08:00 committed by GitHub
parent 35c7e91a4c
commit 9c72525db6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -634,6 +634,7 @@ const getChildren = (schema, mergeScope) => {
]
}
const component = getComponent(componentName)
const isNative = typeof component === 'string'
const isCustomElm = customElements[componentName]
const isGroup = checkGroup(componentName)