fix: gen table error

pull/5/MERGE
xingyu 2023-04-24 19:49:48 +08:00
parent 7eaa5b8393
commit 4c9b0465b2
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function handlePreview() {
async function handleGenTable() {
const tableId = query.id as unknown as number
const res = await getCodegenTable(tableId)
await downloadCodegen(res)
await downloadCodegen(res.table)
createMessage.success(t('common.successText'))
}
</script>