Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于额外引入 block ,例如将表单表格隔离,不在同一个block配置内? #143

Open
anymouschina opened this issue Mar 9, 2021 · 0 comments

Comments

@anymouschina
Copy link

假如我有个页面是表单配置,在另一个表格的新增编辑用上了,是不是可以不需要重复配置,而是可以通过在 initBlock 时检查 block 配置结构,针对 event/action 内关于 "?.?" 的事件调用应预先检测 ams.$blocks 是否有对应的挂载,没有的话尝试通过 ams.getBlock(name) 获取,然后添加到当前的 blocks 对象内?

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

No branches or pull requests

1 participant