5.0.0-alpha.19 #3919
awmleer
announced in
Announcements
5.0.0-alpha.19
#3919
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
type
属性改为color
,default
调整为灰色,增加alert
配色success
fail
loading
方法合并到show
方法中updateConfig
返回函数Toast.show
支持了直接传入string
作为参数迁移建议
default
配色现在改为了alert
,需要显式地进行设置,所以需要把之前的<NoticeBar />
改为 `updateConfig
函数,所以需要去掉对应的依赖(如果遇到用法上的问题可以创建一条 Discussion)show
success
fail
loading
四个方法,现在都合并到show
一个方法中了,具体的用法可以参考最新版的文档This discussion was created from the release 5.0.0-alpha.19.
Beta Was this translation helpful? Give feedback.
All reactions