This commit is contained in:
陈红丽 2024-12-17 14:24:06 +08:00
parent 27152b1685
commit b60ff97f57

View File

@ -15,7 +15,7 @@
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import { ref,nextTick } from 'vue';
import { basicModal, useModal } from '@/components/Modal';
import { message } from 'ant-design-vue';
import { BasicForm, FormSchema, useForm } from '@/components/Form/index';
@ -82,8 +82,10 @@
}
}
function showModal() {
async function showModal() {
openModal();
await nextTick()
resetFields()
}
function handleReset(values: Recordable) {