浏览代码

审批管理

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()
 })