Przeglądaj źródła

fix:领取任务数实时更新

wangJJ 5 lat temu
rodzic
commit
33a9eb91e3
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/components/task/Task.vue

+ 2 - 1
src/components/task/Task.vue

@@ -602,8 +602,9 @@
       //接收任务成功时的回调函数
       receiveTaskSuccess(res) {
         this.hideLoading()
+        this.getTaskDetail();
         notify('success', '接收任务成功')
-        console.log(res)
+        // console.log(res)
         this.taskOperationControl = res.taskOperationControl
         this.task.status = res.crowdTaskVO.status
         this.task.institution = res.crowdTaskVO.institution