|
|
@@ -60,7 +60,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts" name="aidopS8ExceptionList">
|
|
|
-import { onMounted, reactive, ref } from 'vue';
|
|
|
+import { onActivated, onMounted, reactive, ref } from 'vue';
|
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
|
import AidopDemoShell from '../../components/AidopDemoShell.vue';
|
|
|
import { s8ExceptionApi, type S8ExceptionRow } from '../api/s8ExceptionApi';
|
|
|
@@ -68,6 +68,7 @@ import { s8ExceptionApi, type S8ExceptionRow } from '../api/s8ExceptionApi';
|
|
|
const route = useRoute();
|
|
|
const router = useRouter();
|
|
|
const loading = ref(false);
|
|
|
+const activatedOnce = ref(false);
|
|
|
const rows = ref<S8ExceptionRow[]>([]);
|
|
|
const total = ref(0);
|
|
|
const filterOpts = reactive<{
|
|
|
@@ -156,6 +157,14 @@ onMounted(async () => {
|
|
|
await loadFilters();
|
|
|
await loadList();
|
|
|
});
|
|
|
+
|
|
|
+onActivated(async () => {
|
|
|
+ if (!activatedOnce.value) {
|
|
|
+ activatedOnce.value = true;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ await loadList();
|
|
|
+});
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|