Browse Source

[UPDATE] fix tiaozhaun bug

11868 1 năm trước cách đây
mục cha
commit
11cd2712cc
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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;
         }