feat(frontend): enable Livewire SPA navigation (wire:navigate)
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
<button type="submit" class="btn btn-primary">单篇解锁 ¥{{ number_format($price / 100, 2) }}</button>
|
||||
</form>
|
||||
@else
|
||||
<a href="{{ route('membership.index') }}" class="btn btn-primary">开通会员</a>
|
||||
<a wire:navigate href="{{ route('membership.index') }}" class="btn btn-primary">开通会员</a>
|
||||
@endif
|
||||
@else
|
||||
<a href="{{ route('login') }}" class="btn btn-primary">登录后查看</a>
|
||||
<a wire:navigate href="{{ route('login') }}" class="btn btn-primary">登录后查看</a>
|
||||
@endauth
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user