fix bug
This commit is contained in:
parent
6797177b01
commit
ee8138a576
1 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, reactive } from "vue";
|
import { ref, onMounted, reactive, onUnmounted } from "vue";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
import { useQuasar } from "quasar";
|
import { useQuasar } from "quasar";
|
||||||
import http from "@/plugins/http";
|
import http from "@/plugins/http";
|
||||||
|
|
@ -438,6 +438,16 @@ onMounted(async () => {
|
||||||
store.isUpdate = await false;
|
store.isUpdate = await false;
|
||||||
await getAll();
|
await getAll();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
onUnmounted(() => {
|
||||||
|
store.indicatorScoreVal = 0;
|
||||||
|
store.competencyScoreVal = 0;
|
||||||
|
store.devScoreVal = 0;
|
||||||
|
|
||||||
|
store.excusiveIndicator1ScoreVal = 0;
|
||||||
|
store.excusiveIndicator2ScoreVal = 0;
|
||||||
|
store.competencyScoreVal = 0;
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue