Explorar el Código

Merge branch 'blueBranch' into allTestUrgent

qymljy hace 4 meses
padre
commit
b1890662a1

+ 1 - 1
src/components/normal-basic-layout/details/modules/tabs/tab.vue

@@ -92,7 +92,7 @@ export default {
   },
   mounted () {
     setTimeout(() => {
-      if (!this.tabs) {this.activeName = 'file'} else {
+      if (this.tabs.length == 0) {this.activeName = 'file'} else {
         this.activeName = 'tab0'
       }
     }, 1000);