mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-09 04:19:32 +08:00
✨ 改进组设置
This commit is contained in:
parent
ed91764fd5
commit
035e1d140b
@ -23,7 +23,7 @@ class GroupController extends Controller
|
||||
\Illuminate\Support\Facades\View::share([
|
||||
'default' => Group::getDefaultConfigs(),
|
||||
'positions' => Group::POSITIONS,
|
||||
'scanAliyunScenes' => Group::SCENES,
|
||||
'scenes' => Group::SCENES,
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,7 @@
|
||||
</div>
|
||||
<div class="col-span-6 sm:col-span-3 mb-4">
|
||||
<x-fieldset title="审核场景">
|
||||
@foreach($scanAliyunScenes as $key => $scene)
|
||||
@foreach($scenes as $key => $scene)
|
||||
<x-fieldset-checkbox id="configs[scan_configs][drivers][aliyun][scenes][]_{{ $key }}" name="configs[scan_configs][drivers][aliyun][scenes][]" value="{{ $key }}">{{ $scene }}</x-fieldset-checkbox>
|
||||
@endforeach
|
||||
</x-fieldset>
|
||||
|
@ -137,7 +137,7 @@
|
||||
</div>
|
||||
<div class="col-span-6 sm:col-span-3 mb-4">
|
||||
<x-fieldset title="审核场景">
|
||||
@foreach($scanAliyunScenes as $key => $scene)
|
||||
@foreach($scenes as $key => $scene)
|
||||
<x-fieldset-checkbox id="configs[scan_configs][drivers][aliyun][scenes][]_{{ $key }}" name="configs[scan_configs][drivers][aliyun][scenes][]" value="{{ $key }}" :checked="in_array($key, $group->configs['scan_configs']['drivers']['aliyun']['scenes'])">{{ $scene }}</x-fieldset-checkbox>
|
||||
@endforeach
|
||||
</x-fieldset>
|
||||
|
Loading…
Reference in New Issue
Block a user