v3.8.0 新增通用方法简化下载使用

This commit is contained in:
YunaiV
2022-02-17 14:28:43 +08:00
parent fee6d00ecf
commit 02a0ab6d6d
28 changed files with 78 additions and 90 deletions

View File

@ -192,7 +192,7 @@ export default {
/** 生成代码操作 */
handleGenTable(row) {
downloadCodegen(row.id).then(response => {
this.downloadZip(response, 'codegen-' + row.tableName + '.zip');
this.$download.zip(response, 'codegen-' + row.tableName + '.zip');
})
},
/** 同步数据库操作 */