Component(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
文本中报错显示的是没有给render返回东西,
针对这类错误,解决办法简单。
将,route部分写到第一个return后面
Component(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.
文本中报错显示的是没有给render返回东西,
针对这类错误,解决办法简单。
将,route部分写到第一个return后面