|
|
@@ -27,7 +27,7 @@ onMounted(() => {
|
|
|
pano: localStorage.getItem('currentPanoPath')
|
|
|
}
|
|
|
})
|
|
|
- } else {
|
|
|
+ } else if (localStorage.getItem('currentUnit')) {
|
|
|
router.replace({
|
|
|
path: '/scene',
|
|
|
query: {
|
|
|
@@ -35,6 +35,8 @@ onMounted(() => {
|
|
|
name: store.currentUnit.name == '尾厅' ? '尾厅' : ''
|
|
|
}
|
|
|
})
|
|
|
+ } else {
|
|
|
+ router.back()
|
|
|
}
|
|
|
|
|
|
}
|