From de67f38988778f63d1dfecc20a8ec09dbe0067f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Wed, 6 May 2026 15:24:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=80=A7CVE=E6=BC=8F=E6=B4=9E=20=E7=A6=81?= =?UTF-8?q?=E6=AD=A2=E4=BD=BF=E7=94=A8=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= =?UTF-8?q?=E5=88=B0=E6=9C=AC=E5=9C=B0=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tool/gen/index.ts | 8 ------- src/api/tool/gen/types.ts | 6 ----- src/views/tool/gen/genInfoForm.vue | 38 ------------------------------ src/views/tool/gen/index.vue | 23 +++--------------- 4 files changed, 3 insertions(+), 72 deletions(-) diff --git a/src/api/tool/gen/index.ts b/src/api/tool/gen/index.ts index a7c523e..193ee94 100644 --- a/src/api/tool/gen/index.ts +++ b/src/api/tool/gen/index.ts @@ -64,14 +64,6 @@ export const delTable = (tableId: string | number | Array) => { }); }; -// 生成代码(自定义路径) -export const genCode = (tableId: string | number) => { - return request({ - url: '/tool/gen/genCode/' + tableId, - method: 'get' - }); -}; - // 同步数据库 export const synchDb = (tableId: string | number) => { return request({ diff --git a/src/api/tool/gen/types.ts b/src/api/tool/gen/types.ts index bc1d0e3..234dbdd 100644 --- a/src/api/tool/gen/types.ts +++ b/src/api/tool/gen/types.ts @@ -11,8 +11,6 @@ export interface TableVO extends BaseEntity { businessName: string; functionName: string; functionAuthor: string; - genType: string; - genPath: string; pkColumn?: any; columns?: any; options?: any; @@ -87,8 +85,6 @@ export interface DbTableVO { businessName?: any; functionName?: any; functionAuthor?: any; - genType?: any; - genPath?: any; pkColumn?: any; columns: DbColumnVO[]; options?: any; @@ -190,8 +186,6 @@ export interface DbTableForm extends BaseEntity { businessName: string; functionName: string; functionAuthor: string; - genType: string; - genPath: string; pkColumn?: any; columns: DbColumnForm[]; options: string; diff --git a/src/views/tool/gen/genInfoForm.vue b/src/views/tool/gen/genInfoForm.vue index 668f5dd..db80fd5 100644 --- a/src/views/tool/gen/genInfoForm.vue +++ b/src/views/tool/gen/genInfoForm.vue @@ -82,44 +82,6 @@ - - - - zip压缩包 - 自定义路径 - - - - - - - - - - -

增强选项

diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue index 4044155..00bf928 100644 --- a/src/views/tool/gen/index.vue +++ b/src/views/tool/gen/index.vue @@ -192,7 +192,7 @@