8355-testToMaster #1177
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue