修正快递横向导航归属原快递应付入口

This commit is contained in:
renshen 2026-09-12 17:25:26 +08:00
parent e594bdc456
commit 2d90bcbaaa
2 changed files with 5 additions and 1 deletions

View File

@ -175,6 +175,10 @@ class Pages extends Controller
}
if ($page === null) {
if ($section === 'courier-payables') {
return view('business.pages.show', $this->viewData($sectionConfig));
}
return $this->redirectToPage($sectionConfig, $pages->first());
}

View File

@ -621,7 +621,7 @@
}
@endphp
@if ($section['slug'] === 'courier-payables-final')
@if ($section['slug'] === 'courier-payables' && empty($page))
@include('business.pages.courier-payables.final-workspace')
@elseif (!empty($content) && !empty($content['view']))
<section class="business-content-section" aria-label="{{ $activeContentTitle }}">