diff --git a/src/views/pictureOnMap/TopTab/index.vue b/src/views/pictureOnMap/TopTab/index.vue index e1e29c3..c176617 100644 --- a/src/views/pictureOnMap/TopTab/index.vue +++ b/src/views/pictureOnMap/TopTab/index.vue @@ -121,6 +121,7 @@ } activeName.value = item.value; localStorage.setItem('WB_Brad_in_actived', activeName.value); + localStorage.setItem('WB_Brad_in_Link',activeName.link) router.push({ path: item.link, }); @@ -197,7 +198,12 @@ }); activeName.value = localStorage.getItem('WB_Brad_in_actived'); - lastActived.value = 2; + // lastActived.value = 2; + let item={ + link:localStorage.getItem('WB_Brad_in_Link'), + value:localStorage.getItem('WB_Brad_in_actived'), + } + TabClick(item) updateTime(); // weatherForecast() });