diff --git a/admin/src/api/tools/code.ts b/admin/src/api/tools/code.ts index 980ead59..67235853 100644 --- a/admin/src/api/tools/code.ts +++ b/admin/src/api/tools/code.ts @@ -10,6 +10,11 @@ export function dataTable(params: any) { return request.get({ url: '/gen/db', params }) } +// 数据表列表接口 +export function dataTableAll() { + return request.get({ url: '/gen/dbAll' }) +} + //选择要生成代码的数据表 export function selectTable(params: any) { return request.post( diff --git a/admin/src/views/dev_tools/code/edit.vue b/admin/src/views/dev_tools/code/edit.vue index 3f65d570..9c525f56 100644 --- a/admin/src/views/dev_tools/code/edit.vue +++ b/admin/src/views/dev_tools/code/edit.vue @@ -277,10 +277,10 @@ @@ -314,7 +314,7 @@