Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我遇到了错误,我正在使用 laravel livewire 验证,但它会打印条件 @error。帮我
<div> @error('name'){{ $message }}@enderror </div>
Laravel 更新到 5.8 解决方案
尝试这个:
@if ($errors->has('name')) <span class="text-red">{{ $errors->first('name') }}</span> @endif