zhangwencui
4 天以前 a4203d1c0e24a69b3de3a4cf9f3cb1d727602224
src/views/tool/gen/importTable.vue
@@ -76,6 +76,18 @@
  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,
    pageSize: 10,