@@ -282,7 +282,7 @@ import DatabaseAPI, {
TableColumnVO,
TablePageQuery,
GeneratorPreviewVO,
-} from "@/api/database";
+} from "@/api/generator";
const queryFormRef = ref(ElForm);
@@ -298,6 +298,27 @@ const pageData = ref
([]);
const tableColumns = ref([]);
+interface Tree {
+ label: string;
+ children?: Tree[];
+}
+
+const treeData = ref([
+ {
+ label: "Level one 1",
+ children: [
+ {
+ label: "Level two 1-1",
+ children: [
+ {
+ label: "Level three 1-1-1",
+ },
+ ],
+ },
+ ],
+ },
+]);
+
const dialog = reactive({
type: "",
visible: false,