📜  back() 在 laravel 中出现错误 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:54.552000             🧑  作者: Mango

代码示例1
return Redirect::back()->withErrors(['msg' => 'The Message']);
inside you view
@if($errors->any())

{{$errors->first()}}

@endif