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

修改工作区

parent b785bd3a
......@@ -23,7 +23,7 @@
const [registerModal, { setModalProps, closeModal }] = useModalInner(async () => {
setModalProps({ confirmLoading: false });
});
const [register, { appendSchemaByField, removeSchemaByField }] = useForm({
const [register, { appendSchemaByField, removeSchemaByField, resetFields }] = useForm({
schemas: [
{
field: 'num',
......@@ -132,5 +132,6 @@
}
async function handleSubmit() {
closeModal();
resetFields();
}
</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