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,