This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-27 15:40:27 +07:00
parent 6797177b01
commit ee8138a576

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, onMounted, reactive } from "vue";
import { ref, onMounted, reactive, onUnmounted } from "vue";
import { useRoute, useRouter } from "vue-router";
import { useQuasar } from "quasar";
import http from "@/plugins/http";
@ -438,6 +438,16 @@ onMounted(async () => {
store.isUpdate = await false;
await getAll();
});
onUnmounted(() => {
store.indicatorScoreVal = 0;
store.competencyScoreVal = 0;
store.devScoreVal = 0;
store.excusiveIndicator1ScoreVal = 0;
store.excusiveIndicator2ScoreVal = 0;
store.competencyScoreVal = 0;
});
</script>
<template>