Merge branch 'main' into example

This commit is contained in:
Soybean
2024-09-07 11:38:35 +08:00
37 changed files with 1530 additions and 1764 deletions

View File

@@ -1,7 +1,7 @@
<script setup lang="tsx">
import { onMounted, shallowRef } from 'vue';
import { gantt } from 'dhtmlx-gantt';
import type { GanttConfigOptions, ZoomLevels } from 'dhtmlx-gantt';
import type { GanttConfigOptions, ZoomLevel } from 'dhtmlx-gantt';
import 'dhtmlx-gantt/codebase/dhtmlxgantt.css';
import { ganttTasks } from './data';
@@ -72,7 +72,7 @@ function initGantt() {
gantt.init(ganttRef.value);
gantt.parse({ data: ganttTasks });
const zoomLevels: ZoomLevels[] = [
const zoomLevels: ZoomLevel[] = [
{
name: 'day',
scale_height: 60,