错误信息是: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. 我把组件去了就没问题了。