吉安感知网项目-前端
张含笑
2026-02-04 68e6afe2bc6ce68b341e7dccff4bd1b0e5f2c905
feat:调整
2 files modified
6 ■■■■■ changed files
applications/mobile-web-view/src/appPages/work/workDetail/mapWork/index.vue 3 ●●●● patch | view | raw | blame | history
uniapps/work-app/src/subPackages/workDetail/index.vue 3 ●●●● patch | view | raw | blame | history
applications/mobile-web-view/src/appPages/work/workDetail/mapWork/index.vue
@@ -20,7 +20,8 @@
const route = useRoute()
const mapCurrentDetail = ref({})
onMounted(async () => {
mapCurrentDetail.value = JSON.parse(decodeURIComponent(route.query.currentItem))
// mapCurrentDetail.value = JSON.parse(decodeURIComponent(route.query.currentItem))
mapCurrentDetail.value = JSON.parse(route.query.currentItem)
})
</script>
uniapps/work-app/src/subPackages/workDetail/index.vue
@@ -162,7 +162,8 @@
})
// 跳转地图
const jumpMap = item => {
  const contactStr = encodeURIComponent(JSON.stringify(item))
  // const contactStr = encodeURIComponent(JSON.stringify(item))
    const contactStr = JSON.stringify(item)
  uni.navigateTo({
    url: `/subPackages/workDetail/mapWork/index?eventNum=${contactStr}`,
  })