fix: 首页图表

This commit is contained in:
caiyuchao
2025-09-29 17:49:34 +08:00
parent c3eee10f3a
commit 633b067c6d
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ function renderChart() {
radius: [15, 60], radius: [15, 60],
label: { label: {
show: true, show: true,
fontSize: 14, // fontSize: 14,
formatter: '{b}{c}', formatter: '{b}{c}',
}, },
data: [ data: [

View File

@@ -37,7 +37,7 @@ onMounted(async () => {
dashboardValue.value = data; dashboardValue.value = data;
overviewItems.value = { overviewItems.value = {
icon: 'icon-[streamline-plump-color--user-pin-flat] size-9 flex-shrink-0', icon: 'icon-[streamline-plump-color--user-pin-flat] size-8 flex-shrink-0',
title: '员工数', title: '员工数',
totalTitle: '总用户量', totalTitle: '总用户量',
totalValue: data.userCount || 0, totalValue: data.userCount || 0,

View File

@@ -40,7 +40,7 @@ withDefaults(defineProps<Props>(), {
:end-val="item.value" :end-val="item.value"
:start-val="1" :start-val="1"
:unit="item.title === '签单率' ? '%' : ''" :unit="item.title === '签单率' ? '%' : ''"
class="mt-5 size-12 text-3xl" class="mt-5 size-12 text-2xl"
prefix="" prefix=""
/> />
<!-- <VbenIcon :icon="item.icon" class="size-8 flex-shrink-0" /> --> <!-- <VbenIcon :icon="item.icon" class="size-8 flex-shrink-0" /> -->