Skip to content

Commit

Permalink
fix(canvas-renderer): 修复 isNative component 判断失效的 bug (opentiny#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling authored Jan 19, 2024
1 parent 35c7e91 commit 9c72525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/canvas/src/components/render/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9c72525

Please sign in to comment.