duy 2 سال پیش
والد
کامیت
dca0efcafe
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/views/home/components/TaskTable.vue

+ 2 - 2
src/views/home/components/TaskTable.vue

@@ -55,7 +55,7 @@
 </template>
 
 <script setup>
-import {ref, nextTick, watch,onMounted} from "vue";
+import {ref, nextTick, watch,onMounted,onActivated} from "vue";
 import {useRouter} from 'vue-router'
 import {getArrValue} from "js-fast-way"
 import taskApi from '~api/home/task.js';
@@ -81,7 +81,7 @@ const reportTypes = ref([
 ])
 
 
-onMounted(()=>{
+onActivated(()=>{
     getTableData()
     getReporting()
 })