mirror of
https://github.com/anatolykopyl/bakery.git
synced 2026-03-26 13:04:27 +00:00
Страницы открываются сверху
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "Contact",
|
||||
mounted () {
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
window.addEventListener('scroll', this.handleScroll);
|
||||
window.scrollTo(0, 0)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -187,6 +187,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
//navigator.geolocation.getCurrentPosition(this.selectNearest);
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -11,6 +11,15 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Order",
|
||||
mounted () {
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.main {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user