v1.4.0 - README updates

This commit is contained in:
LINING-PC\lining
2025-10-11 21:48:12 +08:00
parent 6049e50fb6
commit 683964c104
2 changed files with 10 additions and 6 deletions
+5 -3
View File
@@ -441,7 +441,7 @@ showMessage('Operation successful', 'success')
<script setup lang="ts"> <script setup lang="ts">
import { ref } from 'vue' import { ref } from 'vue'
import { GanttChart } from 'jordium-gantt-vue3' import { GanttChart } from 'jordium-gantt-vue3'
import 'jordium-gantt-vue3/dist/style.css' import 'jordium-gantt-vue3/dist/assets/jordium-gantt-vue3.css'
const tasks = ref([ const tasks = ref([
{ {
@@ -450,7 +450,8 @@ const tasks = ref([
startDate: '2025-01-01', startDate: '2025-01-01',
endDate: '2025-01-15', endDate: '2025-01-15',
progress: 80, progress: 80,
assignee: 'John Doe' assignee: 'John Doe',
type: 'task'
}, },
{ {
id: 2, id: 2,
@@ -459,7 +460,8 @@ const tasks = ref([
endDate: '2025-01-30', endDate: '2025-01-30',
progress: 60, progress: 60,
assignee: 'Jane Smith', assignee: 'Jane Smith',
predecessor: '1' predecessor: '1',
type: 'task'
} }
]) ])
+5 -3
View File
@@ -455,7 +455,7 @@ showMessage('操作成功', 'success')
<script setup lang="ts"> <script setup lang="ts">
import { ref } from 'vue' import { ref } from 'vue'
import { GanttChart } from 'jordium-gantt-vue3' import { GanttChart } from 'jordium-gantt-vue3'
import 'jordium-gantt-vue3/dist/style.css' import 'jordium-gantt-vue3/dist/assets/jordium-gantt-vue3.css'
const tasks = ref([ const tasks = ref([
{ {
@@ -464,7 +464,8 @@ const tasks = ref([
startDate: '2025-01-01', startDate: '2025-01-01',
endDate: '2025-01-15', endDate: '2025-01-15',
progress: 80, progress: 80,
assignee: '张三' assignee: '张三',
type: 'task'
}, },
{ {
id: 2, id: 2,
@@ -473,7 +474,8 @@ const tasks = ref([
endDate: '2025-01-30', endDate: '2025-01-30',
progress: 60, progress: 60,
assignee: '李四', assignee: '李四',
predecessor: '1' predecessor: '1',
type: 'task'
} }
]) ])