Replace instead of pushing

This commit is contained in:
root
2021-11-05 23:31:21 +05:30
parent a6d0090ac5
commit d36f834863
+1 -1
View File
@@ -7,7 +7,7 @@ export default {
mounted () {
const videoId = this.$route.params.videoId
if (videoId) {
this.$router.push({
this.$router.replace({
path: '/watch',
query: { v: videoId }
})