diff --git a/src/components/indexWaterfallBox/indexWaterfallBox.vue b/src/components/indexWaterfallBox/indexWaterfallBox.vue index 659bea9..86df1e7 100644 --- a/src/components/indexWaterfallBox/indexWaterfallBox.vue +++ b/src/components/indexWaterfallBox/indexWaterfallBox.vue @@ -108,7 +108,8 @@ let watchInfo=()=>{ router.push({ path:itemData.type==='apartment'?'/apartmentDetail':'/detail', query: { - id: itemData.type=='apartment'?itemData.id:itemData.uniqid, + // id: itemData.type=='apartment'?itemData.id:itemData.uniqid, + // [itemData.type=='apartment'?itemData.id:itemData.uniqid,]: itemData.type=='apartment'?itemData.id:itemData.uniqid, type:itemData.intermediary=='1'?2:itemData.intermediary=='6'?3:!itemData.intermediary?'':1 } }) diff --git a/src/components/public/viewMap.vue b/src/components/public/viewMap.vue index 3eef8a7..a77d2ae 100644 --- a/src/components/public/viewMap.vue +++ b/src/components/public/viewMap.vue @@ -28,7 +28,6 @@ const props = defineProps({ let key = ref("MVNBZ-PEFWI-O4OGT-5ADVJ-7QAYJ-NBFY4") -console.log("props.latlng", props.latlng['latitude'], props.latlng['longitude']); const initMap = () => { let center = new TMap.LatLng(props.latlng['latitude'], props.latlng['longitude']); let map = new TMap.Map("container", { diff --git a/src/utils/axios.js b/src/utils/axios.js index 5594cd3..92b74e1 100644 --- a/src/utils/axios.js +++ b/src/utils/axios.js @@ -14,7 +14,7 @@ axios.interceptors.request.use( //响应拦截 showFullScreenLoading() // 开发时登录用的,可以直接替换小程序的 authorization // if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3" - if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg" + // if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg" return config; }, error => { diff --git a/src/views/apartmentDetail.vue b/src/views/apartmentDetail.vue index 7b99152..9fa2dd4 100644 --- a/src/views/apartmentDetail.vue +++ b/src/views/apartmentDetail.vue @@ -6,11 +6,14 @@
+