Skip to content

Conversation

cpf23333
Copy link
Contributor

@cpf23333 cpf23333 commented Sep 7, 2025

如果使用Adapter插件的话,render函数会收到的的数据的类型或结构不一定和logicflow自身的重合,如果把这个空对象传给render函数,render函数再传给adapterIn函数,不能保证可以正确处理

常见的触发场景为单独调用clearData或调用destroy方法,destroy内部调用clearData

另外,sites/docs和example内都在直接调用render({}),不知是否需要修改,以及adapterIn函数文档是否需要提及一下这个隐患

Copy link

changeset-bot bot commented Sep 7, 2025

⚠️ No Changeset found

Latest commit: 9664bbd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@DymoneLewis
Copy link
Collaborator

感谢你的贡献~
这边看一下哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants