修改bug
This commit is contained in:
parent
a45dac97da
commit
8a31ca63dd
@ -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)
|
||||
});
|
||||
|
||||
</script>
|
||||
|
@ -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([])
|
||||
|
Loading…
x
Reference in New Issue
Block a user