From 151e77296fbc80b36649c89604adde071f6139a3 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Mon, 10 Oct 2022 15:57:14 +1100 Subject: Add BaseLine.vue --- src/components/TimeLine.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/TimeLine.vue') diff --git a/src/components/TimeLine.vue b/src/components/TimeLine.vue index 94de84f..796f5c7 100644 --- a/src/components/TimeLine.vue +++ b/src/components/TimeLine.vue @@ -20,7 +20,7 @@ - {{n}} + {{Math.floor(n * 10) / 10}} @@ -43,7 +43,7 @@ const rootRef = ref(null as HTMLElement | null); // Props + events const props = defineProps({ - vert: {type: Boolean, default: false}, + vert: {type: Boolean, required: true}, }); const emit = defineEmits(['close']); -- cgit v1.2.3