FormDialog/FormDrawer Break Change! #1865
janryWang
started this conversation in
Show and tell
Replies: 3 comments
-
下个版本会把该功能带上,因为支持了中间件机制,用户不需要再自己手动处理loading状态了,如果存在异步,会自动出现加载状态 |
Beta Was this translation helpful? Give feedback.
0 replies
-
FormDialog的设计,之前一直不敢说设计的好,现在这个算是终极形态了,主要是为了尽可能的减少用户多余的代码,更关注实际业务逻辑 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我比较关注schema模式下的表现形式😁 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
过去是支持
这样的形式的,但是因为现在已经提供了拦截器功能了,也就是
有了中间件之后,对于确认和关闭的行动点覆盖行为没啥必要,反而,获取内部的form实例才是更有用的,所以,API会改成:
同时,这里我打算给渲染函数默认包上observer,这样对于消费form状态做一些其他联动会更加方便,比如
Beta Was this translation helpful? Give feedback.
All reactions