表单token
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
表单错误提示
@if( $errors->any()) <ul> @foreach($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> @endif
时间: 2024-10-11 12:18:07
表单token
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
表单错误提示
@if( $errors->any()) <ul> @foreach($errors->all() as $error) <li>{{ $error }}</li> @endforeach </ul> @endif