baiyaaaaa 8 anni fa
parent
commit
9f945ad782
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      packages/tabs/src/tab-pane.vue

+ 3 - 1
packages/tabs/src/tab-pane.vue

@@ -34,7 +34,9 @@
     },
 
     destroyed() {
-      this.$el.remove();
+      if (this.$el) {
+        this.$el.remove();
+      }
     },
 
     watch: {