feat(frontend): enable Livewire SPA navigation (wire:navigate)
Build and Deploy / verify (push) Failing after 39m48s
Build and Deploy / deploy (push) Skipped

This commit is contained in:
2026-10-12 12:30:58 +00:00
parent b062e09db0
commit 6adfacc4e5
23 changed files with 58 additions and 58 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
<div class="alert alert-error">你还不是会员,开通后可解锁会员专享文章。</div>
@endif
@else
<div class="alert alert-error">请先 <a href="{{ route('login') }}">登录</a> 后购买会员。</div>
<div class="alert alert-error">请先 <a wire:navigate href="{{ route('login') }}">登录</a> 后购买会员。</div>
@endauth
<div class="plans-grid" style="display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;">
@@ -35,7 +35,7 @@
@endforelse
</div>
<p style="margin-top:16px;"><a href="{{ route('membership.mine') }}">查看我的订阅</a></p>
<p style="margin-top:16px;"><a wire:navigate href="{{ route('membership.mine') }}">查看我的订阅</a></p>
</main>
@include('partials.sidebar')
</div>