feat: plan store/update respect back redirect
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
<form method="post" action="{{ $formAction }}" class="card form-grid">
|
||||
@csrf
|
||||
|
||||
@php $back = (string) ($back ?? ''); @endphp
|
||||
@if($back !== '')
|
||||
<input type="hidden" name="back" value="{{ $back }}">
|
||||
@endif
|
||||
|
||||
<label>
|
||||
<span>套餐名称</span>
|
||||
<input name="name" value="{{ old('name', $plan->name) }}" required>
|
||||
|
||||
Reference in New Issue
Block a user