From fa336559ec15b0275cbeeb92d7b6f562a30df4af Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Mon, 23 May 2022 20:10:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A5=E5=BF=97=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E5=AE=9E=E4=BD=93=E5=B7=A6=E4=BE=A7=E7=AD=9B=E9=80=89=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/entities/EntityTop.vue | 1 + src/views/entityExplorer/EntityFilter.vue | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/entities/EntityTop.vue b/src/components/entities/EntityTop.vue index 0036cdf9..d352a89b 100644 --- a/src/components/entities/EntityTop.vue +++ b/src/components/entities/EntityTop.vue @@ -65,6 +65,7 @@ export default { computed: { totalCount2 () { return function (row) { + console.info(this.totalCount, row, (this.totalCount === 0 ? 0 : parseFloat(row.count / this.totalCount) * 100).toFixed(2)) return (this.totalCount === 0 ? 0 : parseFloat(row.count / this.totalCount) * 100).toFixed(2) } } diff --git a/src/views/entityExplorer/EntityFilter.vue b/src/views/entityExplorer/EntityFilter.vue index 36fb38fe..973cb03f 100644 --- a/src/views/entityExplorer/EntityFilter.vue +++ b/src/views/entityExplorer/EntityFilter.vue @@ -86,7 +86,6 @@ export default { }) this.totalCount = count } - console.info('current-column-change', n, this.totalCount, this.filterData) } }, methods: { @@ -102,7 +101,6 @@ export default { }) item.showTopTen = true this.currentColumn = item.column - console.info('show-top-dialog', item) const queryParams = { q: this.q, entityType: filter.type,