8355-testToMaster #1177

Merged
alexm merged 326 commits from 8355-testToMaster into master 2025-01-07 06:46:55 +00:00
1 changed files with 8 additions and 0 deletions
Showing only changes of commit f3835a1d83 - Show all commits

View File

@ -2,6 +2,7 @@
import { onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useArrayData } from 'composables/useArrayData';
import { onBeforeRouteUpdate } from 'vue-router';
const { t } = useI18n();
@ -110,6 +111,13 @@ onMounted(async () => {
mounted.value = true;
});
// onBeforeRouteUpdate((to, from, next) => {
// if (to.name === from.name && to.path !== from.path) {
// arrayData.reset(['data']);
// }
// next();
// });
onBeforeUnmount(() => {
arrayData.resetPagination();
});