This commit is contained in:
bb_pan 2026-01-07 14:27:51 +08:00
parent e798b7ef54
commit 01d3dc1ed3
2 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ export default {
// console.log('🚀 ~ initChart ~ params:', params)
const val = params.data.value || []
let unit = ''
if (this.btnIndex === 1) unit = '亿'
if (this.btnIndex === 1) unit = '万元'
else if (this.btnIndex === 2) unit = '台'
else if (this.btnIndex === 3) unit = '%'
return val.length

View File

@ -358,7 +358,7 @@ export default {
// console.log('🚀 ~ initChart ~ params:', params)
const val = params.data.value || []
let unit = ''
if (this.btnIndex === 1) unit = '亿'
if (this.btnIndex === 1) unit = '万元'
else if (this.btnIndex === 2) unit = '台'
else if (this.btnIndex === 3) unit = '%'
return val.length