Browse Source

修改调用接口

aaa 3 years ago
parent
commit
91c08c66da

+ 2 - 2
src/views/home/answer/page-answer.vue

@@ -74,13 +74,13 @@ export default {
           url: require("@/assets/image/answer/02.png"),
           title: ["周而复始", "方得始终"],
           //   weekly-questions
-          type: { name: "每周答题", code: "daily-questions" }
+          type: { name: "每周答题", code: "weekly-questions" }
         },
         {
           id: 3,
           url: require("@/assets/image/answer/03.png"),
           title: ["闻道有先后", "术业有专攻"],
-          type: { name: "专项答题", code: "daily-questions" }
+          type: { name: "专项答题", code: "special-questions" }
         }
       ];
     },

+ 1 - 1
src/views/home/answer/through/through-question-start.vue

@@ -61,7 +61,7 @@ export default {
     handleStartThroughFun() {
       this.$store.commit("updateAnswerItemStore", {
         field: "answerRecruitId",
-        value: "daily-questions" // item.id
+        value: "challenge-questions" // item.id
       });
       this.$router.replace({
         name: "throughQuestionDoing"