修改bug
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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([])
|
||||||
|
|||||||
Reference in New Issue
Block a user