Parcourir la source

fix:领取任务数实时更新

wangJJ il y a 5 ans
Parent
commit
33a9eb91e3
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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