Ver Fonte

[UPDATE] fix tiaozhaun bug

11868 há 1 ano atrás
pai
commit
11cd2712cc
1 ficheiros alterados com 5 adições e 1 exclusões
  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;
         }