We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
amis-editor NavSourceControl renderer错误的引入导致触发side effect,全量引入amis editor package
getSchemaTpl是amis editor core的方法。 amis中同样也export了。 如果从amis editor中引入。 则会触发入执行, 入口中引入了很多plugin, 各个plugin其实是存在side effect的, 即export定义, 又将自身注册至editor, 最终导致引入此插件后, 相当于全量引入plugin
getSchemaTpl
引入amis editor core, 然后引入NavSourceControl renderer.即可触发
The text was updated successfully, but these errors were encountered:
fix: 修复getSchemaTpl方法错误的引入方式(baidu#11133)
9013cbc
fix: 修复getSchemaTpl方法错误的引入方式(#11133) (#11134)
0ede261
Co-authored-by: chenfan02 <chenfan02@baidu.com>
No branches or pull requests
描述问题:
amis-editor NavSourceControl renderer错误的引入导致触发side effect,全量引入amis editor package
截图或视频:
getSchemaTpl
是amis editor core的方法。 amis中同样也export了。 如果从amis editor中引入。 则会触发入执行, 入口中引入了很多plugin, 各个plugin其实是存在side effect的, 即export定义, 又将自身注册至editor, 最终导致引入此插件后, 相当于全量引入plugin如何复现(请务必完整填写下面内容):
引入amis editor core, 然后引入NavSourceControl renderer.即可触发
The text was updated successfully, but these errors were encountered: