Implemented additional event information

This commit is contained in:
2026-08-12 15:54:00 +02:00
parent 9581176a0c
commit e95de52768
16 changed files with 327 additions and 22 deletions
+2 -2
View File
@@ -32,7 +32,7 @@
</template>
<script setup>
import { ref, watch, onMounted, onUnmounted, nextTick } from 'vue'
import {nextTick, onMounted, onUnmounted, ref, watch} from 'vue'
const props = defineProps({
show: Boolean,
@@ -115,7 +115,7 @@ onUnmounted(() => {
}
.modal-body {
max-height: 600px;
max-height: 80vh;
overflow: auto;
}
+4 -1
View File
@@ -1,5 +1,5 @@
<script setup>
import { ref, shallowRef, onMounted } from "vue"
import {onMounted, provide, ref, shallowRef} from "vue"
const props = defineProps({
tabs: {
@@ -55,6 +55,9 @@ async function selectTab(index) {
}
}
// Kind-Komponenten (z. B. Leer-Zustands-Hinweise) können damit gezielt zu einem anderen Tab springen.
provide('selectTab', selectTab)
onMounted(() => {
if (props.tabs.length > 0) {
selectTab(props.subTabIndex)