Skip to content

Commit 683964c

Browse files
committed
v1.4.0 - README updates
1 parent 6049e50 commit 683964c

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README-EN.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ showMessage('Operation successful', 'success')
441441
<script setup lang="ts">
442442
import { ref } from 'vue'
443443
import { 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
446446
const 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

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ showMessage('操作成功', 'success')
455455
<script setup lang="ts">
456456
import { ref } from 'vue'
457457
import { 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
460460
const 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

0 commit comments

Comments
 (0)