Explorar el Código

[UPDATE] fix tiaozhaun bug

11868 hace 1 año
padre
commit
11cd2712cc
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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;
         }