优化
This commit is contained in:
parent
27152b1685
commit
b60ff97f57
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user