Browse Source

style: update name key

pull/2750/head
undefined 4 years ago
parent
commit
da09b87548
  1. 2
      components/list/Item.jsx
  2. 2
      components/list/index.jsx

2
components/list/Item.jsx

@ -46,7 +46,7 @@ export const ListItemMeta = (props, { slots }) => {
Object.assign(ListItemMeta, { Object.assign(ListItemMeta, {
props: ListItemMetaProps, props: ListItemMetaProps,
__ANT_LIST_ITEM_META: true, __ANT_LIST_ITEM_META: true,
componentName: 'AListItemMeta', displayName: 'AListItemMeta',
}); });
function getGrid(grid, t) { function getGrid(grid, t) {

2
components/list/index.jsx

@ -280,7 +280,7 @@ const List = {
List.install = function(app) { List.install = function(app) {
app.component(List.name, List); app.component(List.name, List);
app.component(List.Item.name, List.Item); 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; export default List;

Loading…
Cancel
Save