src/views/tool/gen/importTable.vue
@@ -75,6 +75,15 @@
  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({
    pageNum: 1,