diff --git a/src/components/detail/imageWatch.vue b/src/components/detail/imageWatch.vue index 8192bd9..036577e 100644 --- a/src/components/detail/imageWatch.vue +++ b/src/components/detail/imageWatch.vue @@ -98,10 +98,8 @@ onMounted(() => { }) watch(() => props.index, (newValue, oldValue) => { - console.log(props.index,newValue) imageTab.value = newValue; - console.log(carousel.value) - // watchSet(imageTab.value) + watchSet(imageTab.value) }); diff --git a/src/views/apartmentDetail.vue b/src/views/apartmentDetail.vue index 753e9e4..833f24f 100644 --- a/src/views/apartmentDetail.vue +++ b/src/views/apartmentDetail.vue @@ -409,13 +409,11 @@ let imageList = ref([]) // 查看大图弹窗的状态 let imageIndex = ref(0) // 查看大图弹窗的状态 const cloaseImageShow = (list, index) => { if (list) { - console.log("index", index); imageList.value = list imageIndex.value = index } imageShow.value = !imageShow.value } -console.log('imageList', imageList) // 房间类型 let roomList = ref([])