feat: dashboard plans link should carry back

This commit is contained in:
萝卜
2026-03-15 22:47:41 +08:00
parent 85f1e3c41d
commit 9c21030482
2 changed files with 36 additions and 1 deletions

View File

@@ -178,7 +178,10 @@
<div class="card">
<div class="flex-between">
<h3 class="mt-0">套餐订单占比Top5</h3>
<a class="muted" href="/admin/plans">查看套餐</a>
@php
$plansIndexUrl = \App\Support\BackUrl::withBack('/admin/plans', $selfWithoutBack);
@endphp
<a class="muted" href="{!! $plansIndexUrl !!}">查看套餐</a>
</div>
@php