diff --git a/src/views/charts2/charts/dnsInsight/DnsTrafficLine.vue b/src/views/charts2/charts/dnsInsight/DnsTrafficLine.vue index 0acbe291..986dc4a8 100644 --- a/src/views/charts2/charts/dnsInsight/DnsTrafficLine.vue +++ b/src/views/charts2/charts/dnsInsight/DnsTrafficLine.vue @@ -1,9 +1,480 @@ diff --git a/src/views/charts2/charts/networkOverview/NetworkOverviewLine.vue b/src/views/charts2/charts/networkOverview/NetworkOverviewLine.vue index f031b652..7be8e2ea 100644 --- a/src/views/charts2/charts/networkOverview/NetworkOverviewLine.vue +++ b/src/views/charts2/charts/networkOverview/NetworkOverviewLine.vue @@ -225,6 +225,12 @@ export default { this.legendSelectChange(e, 'index') } } + if (this.lineTab === e.class) { + if (e.analysis.avg < 1) { + this.lineTab = '' + this.init() + } + } }) this.mpackets = mpackets this.$nextTick(() => { @@ -254,6 +260,12 @@ export default { this.legendSelectChange(e, 'index') } } + if (this.lineTab === e.class) { + if (e.analysis.avg < 1) { + this.lineTab = '' + this.init() + } + } }) this.mpackets = mpackets this.$nextTick(() => {