Skip to content

Commit

Permalink
expose createForm, editForm in AutoQueryGrid
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Aug 8, 2024
1 parent 627a9d9 commit d221859
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/AutoQueryGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,10 @@ const Errors = {
NoQuery: `No Query API was found`
}
defineExpose({ update, search, createRequestArgs, reset, createDone, createSave, editDone, editSave, forceUpdate, setEdit, edit })
defineExpose({
update, search, createRequestArgs, reset, createDone, createSave, editDone, editSave, forceUpdate, setEdit,
edit, createForm, editForm,
})
if (Sole.interceptors.has('AutoQueryGrid.new')) Sole.interceptors.invoke('AutoQueryGrid.new', { props })
Expand Down

0 comments on commit d221859

Please sign in to comment.