кто сталкивался?  Cannot convert undefined or null to object
                  
                  
                  Object.keys(categories).forEach(key => {
                  
                  
                              const category = categories[key]
                  
                  
                              //console.log('--------------------', category)
                  
                  
                              if (categories !== null) {
                  
                  
                                resultCategory.push(
                  
                  
                                  new Category(
                  
                  
                                    category.ownerId,
                  
                  
                                    category.title,
                  
                  
                                    category.resumes,
                  
                  
                                    key
                  
                  
                                  )
                  
                  
                                )
                  
                  
                              }
                  
                  
                              commit('loadCategories', resultCategory)
                  
                  
                              commit('setLoading', false)
                  
                  
                            })
                  
                  
                
categories - undefined или null (нет там данных)
Обсуждают сегодня