使用jsonp传参并设置echarts柱状图的x轴高度样式

在这里插入图片描述
代码如下:

getEchartsData(){
      let url = this.$baseURL + '/HGApi/getHGCPDHCountDataDetail'
      const searchParam={
        module:'02',
        date:this.dateNH
      }
      $.ajax({
        type:'get',
        url,
        dataType:'jsonp',
        data:{searchParam},
        success:res=>{
          console.log(res,'loookkk');
        }
      })
    },

猜你喜欢

转载自blog.csdn.net/qq_40576178/article/details/123544171
今日推荐