实时追踪

pull/3/head
LiuJiaNan 2024-03-01 17:58:20 +08:00
parent b7727b0f5e
commit df1dcef265
1 changed files with 2 additions and 0 deletions

View File

@ -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];