Skip to content

Commit

Permalink
docs(spce-demo): fix wrong code in space demo
Browse files Browse the repository at this point in the history
  • Loading branch information
TomatoDroid committed Dec 28, 2022
1 parent 7db9c51 commit 2b67302
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/demos/guide/space/json-schema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<FormLayout :label-col="6" :wrapper-col="16">
<SchemaField :schema="schema" />
<FormButtonGroup align-form-item>
<Submit on-submit="log">提交</Submit>
<Submit :on-submit="log">提交</Submit>
</FormButtonGroup>
</FormLayout>
</FormProvider>
Expand Down Expand Up @@ -129,7 +129,7 @@ export default {
}
},
methods: {
logs(value) {
log(value) {
console.log(value)
},
},
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/guide/space/markup-schema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</SchemaVoidField>
</SchemaField>
<FormButtonGroup align-form-item>
<Submit on-submit="log">提交</Submit>
<Submit :on-submit="log">提交</Submit>
</FormButtonGroup>
</FormLayout>
</FormProvider>
Expand Down

0 comments on commit 2b67302

Please sign in to comment.