TypeError: Cannot call a class as a function

TypeError: Cannot call a class as a function_第1张图片
错误原因momen引入错包,Process是父组件

import moment from "../Process";

正确的引入:

import moment from "moment";

你可能感兴趣的:(React)