Skip to content

Commit d221859

Browse files
committed
expose createForm, editForm in AutoQueryGrid
1 parent 627a9d9 commit d221859

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/AutoQueryGrid.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,10 @@ const Errors = {
351351
NoQuery: `No Query API was found`
352352
}
353353
354-
defineExpose({ update, search, createRequestArgs, reset, createDone, createSave, editDone, editSave, forceUpdate, setEdit, edit })
354+
defineExpose({
355+
update, search, createRequestArgs, reset, createDone, createSave, editDone, editSave, forceUpdate, setEdit,
356+
edit, createForm, editForm,
357+
})
355358
356359
if (Sole.interceptors.has('AutoQueryGrid.new')) Sole.interceptors.invoke('AutoQueryGrid.new', { props })
357360

0 commit comments

Comments
 (0)