Browse Source

fix: gen table error

main
xingyu 2 years ago
parent
commit
4c9b0465b2
  1. 2
      src/views/infra/codegen/components/FinishForm.vue

2
src/views/infra/codegen/components/FinishForm.vue

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