Something went wrong.
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of `TableList`.
原因竟然是import { ProTable } from '@ant-design/pro-table';多加了个括号,删掉括号改成
import ProTable from '@ant-design/pro-table';就好了