fix(back): platform-orders/create back 预清洗 + 表单 hidden back 条件渲染护栏
This commit is contained in:
@@ -29,7 +29,13 @@
|
||||
@csrf
|
||||
|
||||
<input type="hidden" name="site_subscription_id" value="{{ old('site_subscription_id', $defaults['site_subscription_id'] ?? '') }}">
|
||||
<input type="hidden" name="back" value="{{ old('back', $defaults['back'] ?? '') }}">
|
||||
|
||||
@php
|
||||
$backVal = (string) old('back', $defaults['back'] ?? '');
|
||||
@endphp
|
||||
@if($backVal !== '')
|
||||
<input type="hidden" name="back" value="{{ $backVal }}">
|
||||
@endif
|
||||
|
||||
<label>
|
||||
<span>站点</span>
|
||||
|
||||
Reference in New Issue
Block a user