From 871a32e7536f789ff4bc752e3783a9ff22a8ee94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com>
Date: Wed, 14 Dec 2022 18:46:21 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E6=93=8D?=
=?UTF-8?q?=E4=BD=9C=E5=88=97=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/tool/gen/index.vue | 61 +++++++++++++++++++++++++++---------
1 file changed, 47 insertions(+), 14 deletions(-)
diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue
index 6d1c623..a6780c5 100644
--- a/src/views/tool/gen/index.vue
+++ b/src/views/tool/gen/index.vue
@@ -38,21 +38,39 @@
-
+
- 预览
-
- 编辑
-
-
- 删除
-
-
- 同步
-
-
- 生成代码
-
+ 预览
+ 编辑
+
+
+
+ {{ $t('btn.more') }}
+
+
+
+
+
+
+
+
+
+ 生成代码
+
+
+
+
+ 同步
+
+
+
+
+ 删除
+
+
+
+
+
@@ -260,6 +278,18 @@ function onCopy(input) {
proxy.$modal.msgError('当前浏览器不支持')
}
}
+function handleCommand(command, row) {
+ switch (command) {
+ case 'generate':
+ handleGenTable(row)
+ break
+ case 'delete':
+ handleDelete(row)
+ case 'sync':
+ handleSynchDb(row)
+ break
+ }
+}
getList()