<div class="" ref="nowTopRef"></div>
mounted() {
this.$nextTick(() => {
const targetLocation = this.$refs.targetLocation;
targetLocation.scrollIntoView();
console.log(targetLocation.scrollIntoView())
})
},
<div class="" ref="nowTopRef"></div>
mounted() {
this.$nextTick(() => {
const targetLocation = this.$refs.targetLocation;
targetLocation.scrollIntoView();
console.log(targetLocation.scrollIntoView())
})
},