import LinkCardItem from './LinkCardItem'; import {Card,Icon} from 'antd'; import isEqual from 'lodash/isEqual'; import * as mobx from 'mobx' class MLinkCard extends React.Component { shouldComponentUpdate(nextProps) { const _c = !isEqual(mobx.toJS(this.props.types), mobx.toJS(nextProps.types)); return _c || this.props.isAbc !== nextProps.isAbc } render() { const {types,isAbc,actions,user} = this.props; return (