| | |
| | | import WorkMap from '@/appComponents/workMap/index.vue' |
| | | import { useRoute } from 'vue-router' |
| | | import { showToast } from 'vant' |
| | | import { getList } from '/src/api/work/index.js' |
| | | import { useStore } from 'vuex' |
| | | const store = useStore() |
| | | const userInfo = computed(() => store?.state?.user?.userInfo) |
| | | const route = useRoute() |
| | | const mapCurrentDetail = ref({}) |
| | | onMounted(async () => { |
| | | mapCurrentDetail.value =JSON.parse(route.query.currentItem) |
| | | console.log('参数',mapCurrentDetail.value ) |
| | | mapCurrentDetail.value = JSON.parse(decodeURIComponent(route.query.currentItem)) |
| | | |
| | | }) |
| | | </script> |