fix: 大屏功能优化。

This commit is contained in:
tianyongbao
2026-02-20 22:58:34 +08:00
parent 9ce370d484
commit 8134bfeeba

View File

@@ -488,16 +488,18 @@ const assetChartOpts = computed(() => ({
legend: {
show: true,
position: 'bottom',
lineHeight: 25
fontSize: 10,
lineHeight: 18,
itemGap: 8
},
title: {
name: `资产总计`,
fontSize: 15,
fontSize: 10,
color: '#666666'
},
subtitle: {
name: `${totalAsset.value.toFixed(2)}`,
fontSize: 12,
fontSize: 8,
color: '#10b981'
},
extra: {
@@ -536,16 +538,18 @@ const debtChartOpts = computed(() => ({
legend: {
show: true,
position: 'bottom',
lineHeight: 25
fontSize: 10,
lineHeight: 18,
itemGap: 8
},
title: {
name: `负债总计`,
fontSize: 15,
fontSize: 10,
color: '#666666'
},
subtitle: {
name: `${totalDebt.value.toFixed(2)}`,
fontSize: 12,
fontSize: 8,
color: '#ef4444'
},
extra: {