Преглед изворни кода

修复跳转时,推荐开发者没有唤醒的问题

martin.ma пре 4 година
родитељ
комит
148b40db18
1 измењених фајлова са 9 додато и 3 уклоњено
  1. 9 3
      pages/frontend/requirements/index.vue

+ 9 - 3
pages/frontend/requirements/index.vue

@@ -46,7 +46,7 @@
         <FormYunDuan v-if="isFormYunDuanShow" v-on:formChange="formChange" v-on:formSubmit="formSubmit"></FormYunDuan>
         <StepEnd v-if="isStepEndShow"></StepEnd>
 
-        <FormRecomment v-if="isShowFormRecomment" :projectid="projectid"></FormRecomment>
+        <FormRecomment v-if="isShowFormRecommend" :projectid="projectid"></FormRecomment>
     </div>
 </div>
 </template>
@@ -93,7 +93,7 @@ export default {
             // wait process finish
             activeStatus: "wait",
 
-            isShowFormRecomment: false,
+            isShowFormRecommend: false,
             projectid: ""
         };
     },
@@ -231,6 +231,12 @@ export default {
             } else {
                 this.type = 0;
             }
+
+            if (val.type == 1 && val.step == 3 && val.projectid) {
+                this.isShowFormRecommend = true
+                this.projectid = val.projectid
+            }
+
             this.activeStatus = "wait";
         }
     },
@@ -248,7 +254,7 @@ export default {
         }
 
         if (query.type == 1 && query.step == 3 && query.projectid) {
-            this.isShowFormRecomment = true
+            this.isShowFormRecommend = true
             this.projectid = query.projectid
         }
         this.baseUrl = this.$store.state.domainConfig.siteUrl;