fix: wrap handleSubmit in form onSubmit to fix TS type mismatch

This commit is contained in:
erio
2026-02-28 19:53:25 +08:00
parent b1de4352a8
commit 7064063230

View File

@@ -5,7 +5,7 @@
width="wide" width="wide"
@close="handleClose" @close="handleClose"
> >
<form id="bulk-edit-account-form" class="space-y-5" @submit.prevent="handleSubmit"> <form id="bulk-edit-account-form" class="space-y-5" @submit.prevent="() => handleSubmit()">
<!-- Info --> <!-- Info -->
<div class="rounded-lg bg-blue-50 p-4 dark:bg-blue-900/20"> <div class="rounded-lg bg-blue-50 p-4 dark:bg-blue-900/20">
<p class="text-sm text-blue-700 dark:text-blue-400"> <p class="text-sm text-blue-700 dark:text-blue-400">