Klönkasten und BuLi-Tipp
This commit is contained in:
@@ -14,7 +14,6 @@ import Willkommen from "../components/startseite/Willkommen.vue";
|
||||
export default {
|
||||
components: {
|
||||
Navbar,
|
||||
Modal,
|
||||
Embla,
|
||||
Umgebung,
|
||||
MyFooter, // Geändert von Footer auf MyFooter
|
||||
@@ -31,8 +30,8 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
if(this.$route.path !== "/"){
|
||||
let hash = this.$route.path.replace("/","");
|
||||
if(this.$route.path !== "/" && this.$route.path!=="/anmeldeformular"){
|
||||
const hash = this.$route.path.replace("/","");
|
||||
console.log(this.$refs[hash])
|
||||
if(this.$refs[hash].$el) this.$refs[hash].$el.scrollIntoView();
|
||||
this.$router.push("/");
|
||||
|
||||
Reference in New Issue
Block a user