From 957db8eeeeb06633625e3dff27cae7645dc2dba4 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Tue, 28 Mar 2023 17:52:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AF=84=E4=BC=B0=E8=AF=84=E5=88=86?= =?UTF-8?q?=E9=A2=98=E7=9B=AE=E6=98=BE=E7=A4=BA=E3=80=81=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/views/investigat/InvestigatPage.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8930bc1..f1ee79c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi"; import { getCookie } from "@/api/utils"; import { USER_INFO } from "@/api/api"; -console.log("版本2.1.3------------"); +console.log("版本2.1.5------------"); const store = useStore(); const router = useRouter(); diff --git a/src/views/investigat/InvestigatPage.vue b/src/views/investigat/InvestigatPage.vue index c86c31e..8b22794 100644 --- a/src/views/investigat/InvestigatPage.vue +++ b/src/views/investigat/InvestigatPage.vue @@ -31,11 +31,11 @@ :key="key" :style="{ background: - value.selectAnswer === item + value.selectAnswer === item + 1 ? 'rgba(86, 163, 249, 1)' : 'rgba(86, 163, 249, 0)', color: - value.selectAnswer === item + value.selectAnswer === item + 1 ? '#fff' : 'rgba(86, 163, 249, 1)', }" @@ -44,7 +44,7 @@ if (data.isSubmit) { return; } - value.selectAnswer = item; + value.selectAnswer = item + 1; } " >