zhangxiaojun il y a 5 mois
Parent
commit
2c40102575
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/views/myBusiness/businessMain.vue

+ 5 - 0
src/views/myBusiness/businessMain.vue

@@ -183,6 +183,11 @@ export default {
             flag: true
           }
         })
+
+        // 首个默认展开
+        if (this.companyList.length) {
+          this.getCompanyList(this.companyList[0].id, 0)
+        }
       })
     },
     getCompanyList(id, index) {