diff --git a/src/components/v-echars/index.vue b/src/components/v-echars/index.vue index 1d979de..ba2034a 100644 --- a/src/components/v-echars/index.vue +++ b/src/components/v-echars/index.vue @@ -35,7 +35,6 @@ export default { this.myChart.setOption(val); } this.myChart.on('click', (params) => { - console.log(params); if(params.componentSubType === 'bar') { let obj = { axisValueLabel: params.name, diff --git a/src/views/EventInsight/industryTOPHE/index.vue b/src/views/EventInsight/industryTOPHE/index.vue index 74ff283..8f8f7ed 100644 --- a/src/views/EventInsight/industryTOPHE/index.vue +++ b/src/views/EventInsight/industryTOPHE/index.vue @@ -17,7 +17,7 @@ -
+
重置 @@ -39,7 +39,6 @@ export default { data() { return { loadTop: false, - loadBtm: false, form: { token: "", sQudao: "", @@ -61,7 +60,6 @@ export default { this.$router.push({ path: "/eventDEC" }); }, getDataList() { - this.loadBtm = true; let obj = Object.assign({}, this.getCtime2, this.form); getHotEventsList(obj).then((res) => { let data = res.data || []; @@ -76,7 +74,10 @@ export default { ]; arr.push(o); }); - this.config = { + if(arr[0] == null) { + ; + } else { + this.config = { headerBGC: "#0c203b", oddRowBGC: "#173b6d", evenRowBGC: "rgba(69, 149, 244, 0)", @@ -84,8 +85,8 @@ export default { rowNum: 6, header: ["事件标题", "影响力", "类型", "关联品牌"], data: arr, - }; - this.loadBtm = false; + }; + } }); }, handlerSs(obj) {