-
-
-
- 标签一的内容
- 标签二的内容
- 标签三的内容
-
-
+
+
+
+ 标签一的内容
+ 标签二的内容
+ 标签三的内容
+
+
+ 标签二的内容
+ 标签三的内容
+
diff --git a/src/components/tabs/tabs.vue b/src/components/tabs/tabs.vue
index 4341c306..4ff7531c 100644
--- a/src/components/tabs/tabs.vue
+++ b/src/components/tabs/tabs.vue
@@ -217,7 +217,7 @@
if (item.tab === this.name) {
TabPanes.push(item);
}
- } else if (this.$children.indexOf(item) !== -1) {
+ }else if (this.$children.includes(item)) { // #6279 #6299
TabPanes.push(item);
}
});