|
|
@@ -38,6 +38,7 @@ const pointInfo = ref('')
|
|
|
|
|
|
const changeUnit = (unit: any) => {
|
|
|
store.currentUnit = unit
|
|
|
+ localStorage.setItem('currentUnit', JSON.stringify(unit))
|
|
|
currentUnit.value = unit
|
|
|
animalZhenShuNumber.value = currentUnit.value.xuliezhen[animalStat.value].zhenShu
|
|
|
duration.value = currentUnit.value.xuliezhen[animalStat.value].duration
|
|
|
@@ -130,6 +131,7 @@ const getAllHotspot = () => {
|
|
|
}
|
|
|
currentHotsUnit.value = currentUnit.value
|
|
|
store.currentUnit = currentUnit.value
|
|
|
+ localStorage.setItem('currentUnit', JSON.stringify(currentUnit.value))
|
|
|
if (route.query.name == '尾厅') pointInfo.value = '&firstView=pano:42,qua:0.009218044457158925,0.8470543054294898,-0.01469850441003682,0.5312231071060547&qs=1'
|
|
|
}
|
|
|
})
|
|
|
@@ -162,6 +164,7 @@ watch(isShowHosList, (newVal: any) => {
|
|
|
const goHotCamarer = (hot: any) => {
|
|
|
currentUnit.value = currentHotsUnit.value
|
|
|
store.currentUnit = currentHotsUnit.value
|
|
|
+ localStorage.setItem('currentUnit', JSON.stringify(currentHotsUnit.value))
|
|
|
pointInfo.value = ''
|
|
|
// isShowExperienceGame.value = true
|
|
|
setTimeout(() => {
|