From 9d076968f1c37a1a831d985f250517054aced7c4 Mon Sep 17 00:00:00 2001 From: Andy Leong Date: Thu, 18 Jan 2024 14:31:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=AD=94=E9=A2=98=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 9 +++++ src/components/Loading.vue | 2 +- src/components/Question.vue | 68 ++++++++++++++++++------------------- src/store/index.js | 4 +++ 4 files changed, 47 insertions(+), 36 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index db9f702..65088de 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -25,6 +25,15 @@ export function getMyPrize(data, authorization) { ); } +// 答题后验证 +export function subAnswer(data, authorization) { + return http.post("/h5/activity/subAnswer", + data, + true, + authorization + ); +} + // 抽奖 export function draw(data, authorization) { return http.post("/h5/activity/draw", diff --git a/src/components/Loading.vue b/src/components/Loading.vue index 9721514..631aa61 100644 --- a/src/components/Loading.vue +++ b/src/components/Loading.vue @@ -81,7 +81,7 @@ onMounted(() => {