慕妹4952661
2018-01-24 12:27
Undefined property: Illuminate\View\Factory::$yieldContent (View: /home/wwwroot/default/resources/views/common/layouts.blade.php) (View: /home/wwwroot/default/resources/views/common/layouts.blade.php)
在使用$error时需要用到中间件:
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
轻松学会Laravel-表单篇
32662 学习 · 255 问题
相似问题