Klönkasten und BuLi-Tipp
This commit is contained in:
@@ -30,6 +30,14 @@ export default {
|
||||
return result;
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
if(this.$route.path=="/anmeldeformular"){
|
||||
const hash = this.$route.path.replace("/","");
|
||||
console.log(this.$refs[hash])
|
||||
this.$refs[hash].scrollIntoView();
|
||||
this.$router.push("/");
|
||||
}
|
||||
},
|
||||
components: {
|
||||
Modal,
|
||||
},
|
||||
@@ -68,7 +76,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<template>
|
||||
<section id="anmeldeformular">
|
||||
<section ref="anmeldeformular" id="anmeldeformular">
|
||||
<section class="form5 cid-u6k7q0BfGa">
|
||||
<div class="container" v-for="(form, i) in forms">
|
||||
<div class="row justify-content-center">
|
||||
|
||||
Reference in New Issue
Block a user