fix: gen table error
parent
7eaa5b8393
commit
4c9b0465b2
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue