详情顶部导航跳转

This commit is contained in:
2023-07-26 19:27:30 +08:00
parent 44d99b26ce
commit 77b5e5e6aa
7 changed files with 44 additions and 47 deletions

View File

@@ -146,9 +146,9 @@ let loadFinish = () => {
}
//监听路由
const route = useRoute()
const route = useRouter()
let routePath = ref('')
routePath.value = route.path
routePath.value = route.currentRoute.value.meta.path
//地区数据
let location = reactive({ data: {} })
location.data = store.state.indexData && store.state.indexData.config && store.state.indexData.config.location