diff --git a/js/welcome/welcome_echarts.js b/js/welcome/welcome_echarts.js index 466aeb2..e1dcb56 100644 --- a/js/welcome/welcome_echarts.js +++ b/js/welcome/welcome_echarts.js @@ -620,7 +620,7 @@ function initOneCharts(list) { function initTwoCharts(obj) { const dataInfo = { status: '¥' + obj.payMoney, - value: ((obj.progress + '').indexOf('.') > -1 ? obj.progress :obj.progress + '.00') + value: obj.progress } const color = '#3592FE' const option = { @@ -771,7 +771,7 @@ function initTwoCharts(obj) { function initThreeCharts(obj) { const dataInfo = { status: '¥' + ((obj.payMoney + '').indexOf('.') > -1 ? obj.payMoney :obj.payMoney + '.00'), - value: ((obj.progress + '').indexOf('.') > -1 ? obj.progress :obj.progress + '.00') + value: obj.progress } const color = '#3592FE' const option = {