forked from integrated_whb/integrated_whb_vue
				
			实时追踪
							parent
							
								
									b7727b0f5e
								
							
						
					
					
						commit
						df1dcef265
					
				| 
						 | 
					@ -396,6 +396,7 @@ const fnBottomOptionsListChange = (item, index) => {
 | 
				
			||||||
const fnBottomChildOptionsListChange = (index, item1, index1) => {
 | 
					const fnBottomChildOptionsListChange = (index, item1, index1) => {
 | 
				
			||||||
  const singleChoiceType = ["historicalTrajectory", "realTimeTracking"];
 | 
					  const singleChoiceType = ["historicalTrajectory", "realTimeTracking"];
 | 
				
			||||||
  const currentItem = data.bottomOptionsList[index].list[index1];
 | 
					  const currentItem = data.bottomOptionsList[index].list[index1];
 | 
				
			||||||
 | 
					  // 点击的是单选的,把其他的取消选中
 | 
				
			||||||
  if (singleChoiceType.includes(item1.type)) {
 | 
					  if (singleChoiceType.includes(item1.type)) {
 | 
				
			||||||
    for (let i = 0; i < data.bottomOptionsList.length; i++) {
 | 
					    for (let i = 0; i < data.bottomOptionsList.length; i++) {
 | 
				
			||||||
      for (let j = 0; j < data.bottomOptionsList[i].list.length; j++) {
 | 
					      for (let j = 0; j < data.bottomOptionsList[i].list.length; j++) {
 | 
				
			||||||
| 
						 | 
					@ -416,6 +417,7 @@ const fnBottomChildOptionsListChange = (index, item1, index1) => {
 | 
				
			||||||
      isHistoricalTrajectory.value = false;
 | 
					      isHistoricalTrajectory.value = false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
 | 
					    // 点击的不是单选的,找出单选的取消选中
 | 
				
			||||||
    for (let i = 0; i < data.bottomOptionsList.length; i++) {
 | 
					    for (let i = 0; i < data.bottomOptionsList.length; i++) {
 | 
				
			||||||
      for (let j = 0; j < data.bottomOptionsList[i].list.length; j++) {
 | 
					      for (let j = 0; j < data.bottomOptionsList[i].list.length; j++) {
 | 
				
			||||||
        const currentForItem = data.bottomOptionsList[i].list[j];
 | 
					        const currentForItem = data.bottomOptionsList[i].list[j];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue