From 8dfd0949932015627838054c708c2d053117b705 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 12 一月 2026 17:58:14 +0800
Subject: [PATCH] 1.12bug修改

---
 src/views/tool/gen/importTable.vue |   33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/src/views/tool/gen/importTable.vue b/src/views/tool/gen/importTable.vue
index 00fc7fc..21b1afe 100644
--- a/src/views/tool/gen/importTable.vue
+++ b/src/views/tool/gen/importTable.vue
@@ -68,21 +68,24 @@
 </template>
 
 <script setup>
-  import { listDbTable, importTable } from "@/api/tool/gen";
-
-  const total = ref(0);
-  const visible = ref(false);
-  const tables = ref([]);
-  const dbTableList = ref([]);
-  const { proxy } = getCurrentInstance();
-
-  // 鏍煎紡鍖栨棩鏈熶负 YYYY-MM-DD
-  const formatDate = (row, column, cellValue) => {
-    if (cellValue) {
-      const date = new Date(cellValue);
-      return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(2, '0')}-${String(date.getDate()).padStart(2, '0')}`;
-    }
-    return "";
+  import { listDbTable, importTable } from "@/api/tool/gen";
+
+  const total = ref(0);
+  const visible = ref(false);
+  const tables = ref([]);
+  const dbTableList = ref([]);
+  const { proxy } = getCurrentInstance();
+
+  // 鏍煎紡鍖栨棩鏈熶负 YYYY-MM-DD
+  const formatDate = (row, column, cellValue) => {
+    if (cellValue) {
+      const date = new Date(cellValue);
+      return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(
+        2,
+        "0"
+      )}-${String(date.getDate()).padStart(2, "0")}`;
+    }
+    return "";
   };
 
   const queryParams = reactive({

--
Gitblit v1.9.3