From 50627af6a2325d4c525eb2a20875ac6c6f0431fc Mon Sep 17 00:00:00 2001 From: 64493bc96180332c2cd697c0 <64493bc96180332c2cd697c0@devide> Date: Mon, 10 Jul 2023 00:48:27 +0000 Subject: [PATCH] Auto Commit --- src/components/Dashboard.vue | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/src/components/Dashboard.vue b/src/components/Dashboard.vue index daf66e6..4d50cac 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 = () => { -- GitLab