diff --git a/src/views/charts/Chart.vue b/src/views/charts/Chart.vue index 8e1026a5..93166592 100644 --- a/src/views/charts/Chart.vue +++ b/src/views/charts/Chart.vue @@ -1139,7 +1139,6 @@ export default { } }) - console.info(this.entity) this.showMapBackButton = !!country const chartParams = this.chartInfo.params const queryParams = { ...this.queryTimeRange, country: country || '', region: '', ...this.entity } // 统计数据的查询参数 @@ -2517,8 +2516,6 @@ export default { } }, mounted () { - console.info(this.chart) - console.info(this.entity) this.initChart() this.throttle = this.$_.throttle(this.echartsResize, 500) window.addEventListener('resize', this.throttle) diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue index 26139eb5..483d4528 100644 --- a/src/views/entityExplorer/EntityExplorer.vue +++ b/src/views/entityExplorer/EntityExplorer.vue @@ -526,10 +526,7 @@ export default { }) }, queryList (params) { - this.timeout = setTimeout(() => { - this.listLoading = true - }, 500) - this.listData = [] + this.listLoading = true const queryParams = { ...params, startTime: parseInt(params.startTime / 1000), @@ -537,10 +534,12 @@ export default { } get(api.entityList, queryParams).then(response => { if (response.code === 200) { - this.listData = response.data.result + this.listData = [] + this.$nextTick(() => { + this.listData = response.data.result + }) } }).finally(() => { - clearTimeout(this.timeout) this.listLoading = false }) }, diff --git a/src/views/entityExplorer/entityList/EntityList.vue b/src/views/entityExplorer/entityList/EntityList.vue index dc25d139..4446632e 100644 --- a/src/views/entityExplorer/entityList/EntityList.vue +++ b/src/views/entityExplorer/entityList/EntityList.vue @@ -1,6 +1,6 @@