This commit is contained in:
parent
e798b7ef54
commit
01d3dc1ed3
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue