fix:评估评分题目提交数据修改

This commit is contained in:
wyx
2023-03-28 17:42:33 +08:00
parent b595cd6092
commit 409a901aab
2 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ import {useRoute} from "vue-router/dist/vue-router";
import {USER_INFO} from "@/api/api";
import {IsPhone} from "@/api/utils";
console.log("版本2.1.3------------");
console.log("版本2.1.5------------");
const store = useStore();
const { path } = useRoute();

View File

@@ -49,11 +49,11 @@
:style="{
'margin-left': key === 0 ? '15px' : '10px',
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)',
}"
@@ -62,7 +62,7 @@
if (data.isSubmit) {
return;
}
value.selectAnswer = item;
value.selectAnswer = item + 1;
}
">
<div>{{ item + 1 }}</div>