From 845db90a35f108948e51c04e118ed95796651685 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 2 Aug 2022 16:03:24 +0800 Subject: [PATCH] bug --- project/dv/apps/components/AiGrid.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/dv/apps/components/AiGrid.vue b/project/dv/apps/components/AiGrid.vue index ac48619e..66d5cc50 100644 --- a/project/dv/apps/components/AiGrid.vue +++ b/project/dv/apps/components/AiGrid.vue @@ -72,9 +72,9 @@ if (elClass === 'tree' || elClass === 'middle' || (elClass && (elClass.indexOf('chart') > -1 || elClass.indexOf('user') > -1))) { var dir = event.deltaY > 0 ? 'Up' : 'Down' if (dir === 'Up') { - this.scale = this.scale - 0.2 <= 0.1 ? 0.1 : this.scale - 0.2 + this.scale = this.scale - 0.12 <= 0.1 ? 0.1 : this.scale - 0.12 } else { - this.scale = this.scale + 0.2 + this.scale = this.scale + 0.12 } }