luolei 5 سال پیش
والد
کامیت
39d88f4ff9
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/js/console.js

+ 1 - 2
src/js/console.js

@@ -585,7 +585,6 @@ function barChartPay(dataX,dataY){
 }
 //柱状图住院日期
 function barChart(data,type){
-    // console.log(data,type)
     var myChart = echarts.init(document.getElementById('barChart'));
     $(window).resize(function(){
         myChart.resize()
@@ -696,7 +695,7 @@ function barChart(data,type){
             containLabel: true
         },
         title:[{
-            text: '天数',
+            text: type==1?'天数':'元',
             top: 15,
             left: 10,
             textStyle: {