Sfoglia il codice sorgente

[UPDATE] fix tiaozhaun bug

11868 1 anno fa
parent
commit
11cd2712cc
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      src/views/taskScreen.vue

+ 5 - 1
src/views/taskScreen.vue

@@ -438,9 +438,13 @@ export default {
         console.log("获取任务列表", data);
         this.taskList = data;
 
-        //前面传过来的id
+
         if(this.$route.query.key1){
           this.wholeOutTaskId = this.$route.query.key1;
+          if(location.href.indexOf('#reloaded')==-1){
+            location.href=location.href+"#reloaded";
+            location.reload();
+          }
         }else{
           this.wholeOutTaskId = data[0].taskId;
         }