File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ showMessage('Operation successful', 'success')
441441<script setup lang="ts">
442442import { ref } from 'vue'
443443import { GanttChart } from 'jordium-gantt-vue3'
444- import 'jordium-gantt-vue3/dist/style .css'
444+ import 'jordium-gantt-vue3/dist/assets/jordium-gantt-vue3 .css'
445445
446446const tasks = ref([
447447 {
@@ -450,7 +450,8 @@ const tasks = ref([
450450 startDate: '2025-01-01',
451451 endDate: '2025-01-15',
452452 progress: 80,
453- assignee: 'John Doe'
453+ assignee: 'John Doe',
454+ type: 'task'
454455 },
455456 {
456457 id: 2,
@@ -459,7 +460,8 @@ const tasks = ref([
459460 endDate: '2025-01-30',
460461 progress: 60,
461462 assignee: 'Jane Smith',
462- predecessor: '1'
463+ predecessor: '1',
464+ type: 'task'
463465 }
464466])
465467
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ showMessage('操作成功', 'success')
455455<script setup lang="ts">
456456import { ref } from 'vue'
457457import { GanttChart } from 'jordium-gantt-vue3'
458- import 'jordium-gantt-vue3/dist/style .css'
458+ import 'jordium-gantt-vue3/dist/assets/jordium-gantt-vue3 .css'
459459
460460const tasks = ref([
461461 {
@@ -464,7 +464,8 @@ const tasks = ref([
464464 startDate: '2025-01-01',
465465 endDate: '2025-01-15',
466466 progress: 80,
467- assignee: '张三'
467+ assignee: '张三',
468+ type: 'task'
468469 },
469470 {
470471 id: 2,
@@ -473,7 +474,8 @@ const tasks = ref([
473474 endDate: '2025-01-30',
474475 progress: 60,
475476 assignee: '李四',
476- predecessor: '1'
477+ predecessor: '1',
478+ type: 'task'
477479 }
478480])
479481
You can’t perform that action at this time.
0 commit comments