优化
This commit is contained in:
parent
2ce34a22d0
commit
45f21d40e7
@ -16,7 +16,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, ref } from 'vue';
|
||||
import { defineComponent, ref, nextTick } from 'vue';
|
||||
import { basicModal, useModal } from '@/components/Modal';
|
||||
import { useMessage } from 'naive-ui';
|
||||
import { BasicForm, FormSchema, useForm } from '@/components/Form/index';
|
||||
@ -105,8 +105,10 @@
|
||||
setSubLoading(false);
|
||||
}
|
||||
}
|
||||
function showModal() {
|
||||
async function showModal() {
|
||||
openModal();
|
||||
await nextTick();
|
||||
resetFields();
|
||||
}
|
||||
|
||||
function handleReset(values: Recordable) {
|
||||
|
Loading…
Reference in New Issue
Block a user