|
@@ -55,6 +55,12 @@
|
|
|
hiddenCountByType({hdLevel:this.hdLevel}).then(response => {
|
|
|
let myChart = this.$echarts.init(document.getElementById('hiddenDangerStatisticsEcharts-box'));
|
|
|
let data = [];
|
|
|
+ if(!response.rows[0]){
|
|
|
+ this.$set(this,'nullType',true);
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ this.$set(this,'nullType',false);
|
|
|
+ }
|
|
|
for(let i=0;i<response.rows.length;i++){
|
|
|
// substring
|
|
|
console.log(response.rows[i].collegeName.length)
|