| 
					
				 | 
			
			
				@@ -174,10 +174,14 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       childSelectId: xiaokuAi.childSelectId || (null as any)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     });
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // const mapList: any = new Map();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const formatParentId = (id: any, list: any, ids = [] as any) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       for (const item of list) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (item.children && item.children.length > 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const cIds: any = formatParentId(id, item.children, [...ids]);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          const cIds: any = formatParentId(id, item.children, [
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ...ids,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            item.id
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ]);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (cIds.includes(id)) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return cIds;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -185,6 +189,8 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (item.id === id) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return [...ids, id];
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // mapList[item.id] = item.parentTagId;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // mapList.push()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return ids;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     };
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -260,7 +266,13 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (!data.tagActiveId) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           data.tagActiveId = data.tags[0].id;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const ids = formatParentId(xiaokuAi.childSelectId, data.tags);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let ids = formatParentId(xiaokuAi.childSelectId, data.tags);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // console.log(ids, 'ids', xiaokuAi.childSelectId);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          const index = ids.findIndex(
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            (id: any) => id === xiaokuAi.childSelectId
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          );
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // console.log(index, 'id');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ids = ids.slice(0, index + 1);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           formatParentCurrentValue(ids, data.tags);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           data.tags.forEach((item: any) => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (item.id === data.tagActiveId) {
 
			 |