收口后台表单确认事件

This commit is contained in:
2026-04-25 13:31:18 +08:00
parent 90d2fcc14a
commit 4352919889
10 changed files with 38 additions and 8 deletions
@@ -72,7 +72,7 @@
编辑
</a>
<form action="{{ route('admin.changelogs.destroy', $log->id) }}" method="POST"
onsubmit="return confirm('确定要删除这条日志吗?');">
data-admin-confirm="确定要删除这条日志吗?">
@csrf @method('DELETE')
<button type="submit"
class="text-red-600 hover:text-red-800 font-semibold text-xs px-2 py-1 rounded hover:bg-red-50 transition">