Commit bbed3bf0 authored by 罗林杰's avatar 罗林杰

修改工作区

parent b785bd3a
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
const [registerModal, { setModalProps, closeModal }] = useModalInner(async () => { const [registerModal, { setModalProps, closeModal }] = useModalInner(async () => {
setModalProps({ confirmLoading: false }); setModalProps({ confirmLoading: false });
}); });
const [register, { appendSchemaByField, removeSchemaByField }] = useForm({ const [register, { appendSchemaByField, removeSchemaByField, resetFields }] = useForm({
schemas: [ schemas: [
{ {
field: 'num', field: 'num',
...@@ -132,5 +132,6 @@ ...@@ -132,5 +132,6 @@
} }
async function handleSubmit() { async function handleSubmit() {
closeModal(); closeModal();
resetFields();
} }
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment