图片查看组件
This commit is contained in:
@@ -99,7 +99,10 @@ 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)
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user