feat(frontend): enable Livewire SPA navigation (wire:navigate)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
@endif
|
||||
<p><strong>商品:</strong>{{ $payment->subject }}</p>
|
||||
<p><strong>金额:</strong>¥{{ number_format($payment->amount / 100, 2) }}</p>
|
||||
<p class="auth-alt"><a href="{{ route('home') }}">返回首页</a></p>
|
||||
<p class="auth-alt"><a wire:navigate href="{{ route('home') }}">返回首页</a></p>
|
||||
</main>
|
||||
</div>
|
||||
@include('partials.footer')
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-primary">确认支付(模拟)</button>
|
||||
</form>
|
||||
<p class="auth-alt"><a href="{{ route('home') }}">取消,返回首页</a></p>
|
||||
<p class="auth-alt"><a wire:navigate href="{{ route('home') }}">取消,返回首页</a></p>
|
||||
</main>
|
||||
</div>
|
||||
@include('partials.footer')
|
||||
|
||||
Reference in New Issue
Block a user