1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-04-30 22:29:01 +08:00

fix: submit导致reload问题

This commit is contained in:
zclzone 2024-01-21 18:01:05 +08:00
parent 58de3c1ad6
commit f2eb40357d

View File

@ -8,7 +8,7 @@
<template>
<AppCard v-if="$slots.default" bordered bg="#fafafc dark:black" class="mb-30 min-h-60 rounded-4">
<form class="flex justify-between p-16" @submit="handleSearch()">
<form class="flex justify-between p-16" @submit.prevent="handleSearch()">
<n-space wrap :size="[32, 16]">
<slot />
</n-space>