diff --git a/components/list/Item.jsx b/components/list/Item.jsx index e0d7acba5..e19616fbf 100644 --- a/components/list/Item.jsx +++ b/components/list/Item.jsx @@ -46,7 +46,7 @@ export const ListItemMeta = (props, { slots }) => { Object.assign(ListItemMeta, { props: ListItemMetaProps, __ANT_LIST_ITEM_META: true, - componentName: 'AListItemMeta', + displayName: 'AListItemMeta', }); function getGrid(grid, t) { diff --git a/components/list/index.jsx b/components/list/index.jsx index af871bc88..8854953f2 100644 --- a/components/list/index.jsx +++ b/components/list/index.jsx @@ -280,7 +280,7 @@ const List = { List.install = function(app) { app.component(List.name, List); app.component(List.Item.name, List.Item); - app.component(List.Item.Meta.componentName, List.Item.Meta); + app.component(List.Item.Meta.displayName, List.Item.Meta); }; export default List;