zhangxiaojun 5 місяців тому
батько
коміт
2c40102575
1 змінених файлів з 5 додано та 0 видалено
  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) {