Browse Source

[edit][bug]

zhangwei 3 years ago
parent
commit
df4fd513f9
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/view/red-packet.vue

+ 4 - 2
src/view/red-packet.vue

@@ -386,6 +386,7 @@ function init() {
       postId: data.postId
     }
   }).then((res) => {
+    initTaskDetail()
     switch (res.code.toString()) {
       case "0":
         data.srcContentId = res.data.srcContentId
@@ -436,8 +437,9 @@ function init() {
         break
     }
   })
-
-  // 任务详情
+}
+function initTaskDetail(){
+    // 任务详情
   getTaskDetail({
     params: {
       postId: data.postId