Explorar el Código

fix(frontend): growth tab 空态不刷新 — hasFamily 加入 children/records 判断

E2E Test Bot hace 2 meses
padre
commit
ab7e997d8a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      cfc-frontend/pages/growth-main/index.vue

+ 2 - 0
cfc-frontend/pages/growth-main/index.vue

@@ -201,6 +201,8 @@ export default {
   computed: {
     hasFamily: function() {
       if (this.memberId) return true
+      if (this.children && this.children.length > 0) return true
+      if (this.records && this.records.length > 0) return true
       return this.$store.getters.hasFamily
     },
     filteredRecords: function() {