我從我的路線中實(shí)際存在的視圖中收到錯誤 404。這是我從中選擇數(shù)據(jù)的視圖 (sidebar.blade.php)<div class="col-xl-3 col-lg-3 col-sm-12 col-xs-12 sidebar-shop-left"> <div class="product-categori"> <div class="search-product"> <form action="#"> <input class="form-control" placeholder="Search here..." type="text"> <button type="submit"> <i class="fa fa-search"></i> </button> </form> </div> <div class="filter-sidebar-left"> <div class="title-left"> <h3>Categories</h3> </div> <div class="list-group list-group-collapse list-group-sm list-group-tree" id="list-group-men" data-children=".sub-men"> @foreach($categories as $cat) <div class="list-group-collapse sub-men"> <a class="list-group-item list-group-item-action" href="#{{$cat->id}}" data-toggle="collapse" aria-expanded="true" aria-controls="sub-men1">{{$cat->name}} </a> <div class="collapse hide" id="{{$cat->id}}" data-parent="#list-group-men"> @foreach($cat->categories as $subcat) @if($subcat->status==1) <div class="list-group"> <a href="{{ asset('resume/'.$subcat->url) }}" class="list-group-item list-group-item-action active">{{$subcat->name}}</a> </div> @endif @endforeach </div> </div>
路由上存在的視圖上的錯誤 404。URL 和視圖一樣存在,但它不斷返回錯誤 404
呼喚遠(yuǎn)方
2022-12-30 17:06:28