diff --git a/docs/further/front/formComponent.md b/docs/further/front/formComponent.md index f608c1120bcecda632f9a53bb38d084a8a59de2a..55da4b3749c87c7c742e911e2ef6501346bd6bc9 100644 --- a/docs/further/front/formComponent.md +++ b/docs/further/front/formComponent.md @@ -105,7 +105,7 @@ const columnsOptions = reactive([ }, ]) -const handlerSubmit = (data) => { +const handlerSubmit = (data, done) => { // 显示表单提交中状态 done(true) if (data) { @@ -114,7 +114,7 @@ const handlerSubmit = (data) => { } foo.save(data).then( res => { if (res.code == 200 && res.success) { - Message.succes('提交成功') + Message.success('提交成功') } }).catch( e => { console.error(e)