#6772 - Reload data section when change Id #192

Merged
jsegarra merged 34 commits from 6772_reload_sections into dev 2024-08-27 15:17:45 +00:00
1 changed files with 9 additions and 1 deletions
Showing only changes of commit 2c29258938 - Show all commits

View File

@ -1,6 +1,6 @@
<script setup>
import axios from 'axios';
import { ref, computed } from 'vue';
import { ref, computed, watch } from 'vue';
import { useQuasar } from 'quasar';
import { useRouter } from 'vue-router';
import { useI18n } from 'vue-i18n';
@ -144,6 +144,14 @@ function onDrag() {
dragFileTimeout.value = setTimeout(() => (dragFile.value = false), 500);
dragFile.value = true;
}
watch(
Outdated
Review

Incluiré este codigo en la v6 de https://redmine.verdnatura.es/issues/6336

Incluiré este codigo en la v6 de https://redmine.verdnatura.es/issues/6336
() => router.currentRoute.value.params.id,
() => {
claimDmsFilter.value.where.id = router.currentRoute.value.params.id;
claimDmsRef.value.fetch();
}
);
</script>
<template>
<FetchData