Open aiingstan opened 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Looking at the latest doc - 2.14.1, still the same.
agree +1
Existing Component
Yes
Component Name
Alert, Tag
Description
Hi, Element UI provides multiple
type
value options for both Tag and Alert components, i.e.success
,info
,warning
. However, thetype
value for error context is inconsistent. For Tag it's calleddanger
and for Alert it's callederror
. This causes a little trouble when creating a filter function because the filter function will need to return different values for the same status to represent error context. Could we consider provide atype
alias feature so that those two components will be compatible with receiving botherror
anddanger
as proptype
value?