📜  如何将 laravel 刀片错误数组作为关联数组 - 无论代码示例

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

代码示例1
@foreach($errors->getMessages() as $key => $message)
    {{$key}} = {{$message}}
@endforeach