分类:PHP记事本 发布时间:2017-09-19 09:58:09 阅读: 作者:郑祥景
后台:
return redirect()->route('index')->withInput()->withErrors($errors);
前端:
@if(count($errors)>0) @foreach($errors->all() as $value) <label for="remember-me" style="color: red">{{$value}}</label> @endforeach @endif
编辑:郑祥景