Karsa 3 years ago
parent
commit
84a1f047d2
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/ssbg/roadshow/rsCalendar.vue

+ 4 - 2
src/views/ssbg/roadshow/rsCalendar.vue

@@ -1,5 +1,5 @@
 <script setup>
-import { ref, reactive,toRefs } from 'vue';
+import { ref, reactive,toRefs,onMounted } from 'vue';
 import { useRoute } from 'vue-router';
 import { Icon, Toast,TreeSelect,Popup } from 'vant';
 import moment from 'moment';
@@ -120,7 +120,9 @@ const getResearcherList = async() => {
     })) : []
   }));
 }
-getResearcherList();
+onMounted(() => {
+  getResearcherList();
+})
 
 /* 选择研究员 */
 const slectResearcherHandle = () => {