Skip to content

Commit

Permalink
chore: 优化代码生成模板
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed May 14, 2024
1 parent 926497a commit 6396e9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const columns: Columns = [
</#list>
]
const { form, resetForm } = useForm<({
const { form, resetForm } = useForm({
// todo 待补充
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const {
pagination,
search,
handleDelete
} = useTable((p) => list${classNamePrefix}({ ...queryForm, page: p.page, size: p.size }), { immediate: true })
} = useTable((page) => list${classNamePrefix}({ ...queryForm, ...page }), { immediate: true })
const columns: TableInstanceColumns[] = [
<#if fieldConfigs??>
Expand Down

0 comments on commit 6396e9a

Please sign in to comment.