baiyaaaaa 8 жил өмнө
parent
commit
9f945ad782

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

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