From 8d5887b9140fefea3016fae497dfd8891983ec40 Mon Sep 17 00:00:00 2001 From: Cheng JIANG Date: Sat, 21 Jul 2018 12:43:00 +0200 Subject: [PATCH] [IMPROVE] --- src/components/LayoutGrid/LayoutGrid.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LayoutGrid/LayoutGrid.vue b/src/components/LayoutGrid/LayoutGrid.vue index 79b3456..f1837b6 100644 --- a/src/components/LayoutGrid/LayoutGrid.vue +++ b/src/components/LayoutGrid/LayoutGrid.vue @@ -223,7 +223,7 @@ this.DELETE_LAYOUT_ITEM_IN_CACHE(i); const component = this.getComponentById(i); - if (isFunction(component.safeDraw)) component.safeDraw(); + if (isFunction(component.safeDraw) && isDisplay(component.$el)) component.safeDraw(); }, onLayoutUpdated(n) { this.$emit('updated', n);