From 42b96030efd07dd1b18724cf72748bc2fd0a4a2f Mon Sep 17 00:00:00 2001 From: qin_jun_yan Date: Tue, 2 Jun 2020 17:19:18 +0800 Subject: [PATCH] Data tracing, after frame selection, and then click to hide the data, the hidden number is not displayed correctly --- mindinsight/ui/src/views/train-manage/data-traceback.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mindinsight/ui/src/views/train-manage/data-traceback.vue b/mindinsight/ui/src/views/train-manage/data-traceback.vue index 2b62566..e0c4952 100644 --- a/mindinsight/ui/src/views/train-manage/data-traceback.vue +++ b/mindinsight/ui/src/views/train-manage/data-traceback.vue @@ -1110,9 +1110,6 @@ export default { this.showTable = false; this.echartNoData = true; } else { - const echartLength = this.echart.brushData.length; - this.recordsNumber = echartLength; - this.showNumber = echartLength; this.echart.showData = this.echart.brushData; this.initChart(); this.pagination.currentPage = 1; @@ -1121,6 +1118,9 @@ export default { (this.pagination.currentPage - 1) * this.pagination.pageSize, this.pagination.currentPage * this.pagination.pageSize, ); + const tableLength = this.table.data.length; + this.recordsNumber = tableLength; + this.showNumber = tableLength; this.showTable = true; } } -- GitLab