修改bug

This commit is contained in:
A1300399510
2023-08-02 12:12:55 +08:00
parent a45dac97da
commit 8a31ca63dd
2 changed files with 1 additions and 5 deletions

View File

@@ -98,10 +98,8 @@ onMounted(() => {
}) })
watch(() => props.index, (newValue, oldValue) => { watch(() => props.index, (newValue, oldValue) => {
console.log(props.index,newValue)
imageTab.value = newValue; imageTab.value = newValue;
console.log(carousel.value) watchSet(imageTab.value)
// watchSet(imageTab.value)
}); });
</script> </script>

View File

@@ -409,13 +409,11 @@ let imageList = ref([]) // 查看大图弹窗的状态
let imageIndex = ref(0) // 查看大图弹窗的状态 let imageIndex = ref(0) // 查看大图弹窗的状态
const cloaseImageShow = (list, index) => { const cloaseImageShow = (list, index) => {
if (list) { if (list) {
console.log("index", index);
imageList.value = list imageList.value = list
imageIndex.value = index imageIndex.value = index
} }
imageShow.value = !imageShow.value imageShow.value = !imageShow.value
} }
console.log('imageList', imageList)
// 房间类型 // 房间类型
let roomList = ref([]) let roomList = ref([])