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