From 90dafc54ab5ec68c6a531dd8b205d717a73bedc5 Mon Sep 17 00:00:00 2001 From: baiyaaaaa Date: Wed, 9 Nov 2016 00:01:56 +0800 Subject: [PATCH] fix node remove bug --- packages/tabs/src/tab-pane.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tabs/src/tab-pane.vue b/packages/tabs/src/tab-pane.vue index 591570f9..7c95c253 100644 --- a/packages/tabs/src/tab-pane.vue +++ b/packages/tabs/src/tab-pane.vue @@ -35,7 +35,7 @@ destroyed() { if (this.$el) { - this.$el.remove(); + this.$el.parentNode.removeChild(this.$el); } },