Преглед изворни кода

Merge branch 'blueBranch' into allTestUrgent

qymljy пре 5 месеци
родитељ
комит
b1890662a1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/normal-basic-layout/details/modules/tabs/tab.vue

+ 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);