当我试图从这样的路线返回视图时:
Route::get('/testid', function () {
$id = 1; // for test only
$title = 'Dashboard';
$username=Auth::user()->name;
$job=Auth::user()->job;
$p = 1;
$requestedorder = \App\Order::findOrfail($id);
return vi
我不能在BlogsOverviews组件上映射,它说article.map不是函数,帮我解决这个问题
MainContent.jsx:28 Uncaught TypeError:无法读取未定义的属性(读取'map') at MainContent (MainContent.jsx:28:1) at renderWithHooks (react-dom.development.js:14985:1) at mountIndeterminateComponent (Reacti-dom.Development.js:17811:1) at beginWork (Reacti-do