diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index daf66e673f6cdd6a8aeae516730c57edab8eb995..4d50cac9ef3eb60d3204a9115986a00473904595 100644 --- a/src/components/Dashboard.vue +++ b/src/components/Dashboard.vue @@ -17,7 +17,7 @@ " >
-
{{ per }}%
+
{{ per }}
@@ -39,11 +39,11 @@ const props = defineProps({ }, per: { type: Number, - default: 75, + default: 66.66, }, fontSize: { type: Number, - default: 12, + default: 20, }, }); const { title, per } = toRefs(props); @@ -58,7 +58,7 @@ watch( onMounted(() => { changeper(); }); -let ran = ref(Math.floor(Math.random() * 100) + per.value); +let ran = ref(Math.floor(Math.random() * 100)); const changeper = () => { let p = per.value; let deg = (180 * p) / 100 - 90; @@ -81,15 +81,15 @@ const changeper = () => {