diff options
Diffstat (limited to 'iridescence/src/views')
-rw-r--r-- | iridescence/src/views/Admin.vue | 3 | ||||
-rw-r--r-- | iridescence/src/views/Home.vue | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/iridescence/src/views/Admin.vue b/iridescence/src/views/Admin.vue index 6bb161a..eedafc7 100644 --- a/iridescence/src/views/Admin.vue +++ b/iridescence/src/views/Admin.vue @@ -40,6 +40,9 @@ export default { } }); } + }, + mounted() { + window.scrollTo(0, 0); } }; </script> diff --git a/iridescence/src/views/Home.vue b/iridescence/src/views/Home.vue index b512328..b63f16f 100644 --- a/iridescence/src/views/Home.vue +++ b/iridescence/src/views/Home.vue @@ -31,6 +31,9 @@ export default { ProductList, ProductDetail, ProductSearch + }, + mounted() { + window.scrollTo(0, 0); } }; </script> |