| 
					
				 | 
			
			
				@@ -280,7 +280,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const newClassifyArr = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       mainArr.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (item.productTypeLevel == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if (!item.dataRef.children) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if ((item.dataRef && !item.dataRef.children) || (!item.dataRef && !item.children)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const objType1 = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               productTypeSn1: item.snPaths 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -291,7 +291,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (item.productTypeLevel == 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if (!item.dataRef.children) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if ((item.dataRef && !item.dataRef.children) || (!item.dataRef && !item.children)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const typeArr1 = item.snPaths ? item.snPaths.split(',') : [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const objType2 = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               productTypeSn1: typeArr1[0], 
			 |