补齐批次详情页访客与空态边界测试

This commit is contained in:
萝卜
2026-03-20 09:58:37 +08:00
parent 9b46699ed7
commit 9cf2e7d8e4
3 changed files with 75 additions and 1 deletions

View File

@@ -43,7 +43,7 @@
</div>
<div class="actions gap-10">
<a class="btn btn-secondary btn-sm" href="{{ $backToListUrl }}">返回上一页</a>
@if($runId !== '')
@if(($error ?? '') === '' && $runId !== '')
<button type="button" class="btn btn-secondary btn-sm" data-action="copy-run-id" data-run-id="{{ $runId }}">复制 run_id</button>
@endif
<a class="btn btn-secondary btn-sm" href="/admin/platform-batches/show?type={{ $type }}&run_id={{ urlencode($runId) }}&back={{ urlencode($selfWithoutBack) }}">刷新</a>