From b946b74ca674f7e7a04d99a960040438c95ef22d Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 20 十一月 2025 16:53:13 +0800
Subject: [PATCH] 优化
---
h5/pages/answer/answer.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/h5/pages/answer/answer.vue b/h5/pages/answer/answer.vue
index 0129113..54723fe 100644
--- a/h5/pages/answer/answer.vue
+++ b/h5/pages/answer/answer.vue
@@ -304,7 +304,6 @@
item.status = '0'
item.selAnswer = null
})
- console.log(res.data)
this.list = res.data
}
// res.param.problemsDOList.forEach(item => {
@@ -316,7 +315,7 @@
},
// 鍗曢�夐�夋嫨涓鐩�
select(line, i) {
- if (this.status === '2') return
+ if (this.status != '0') return
this.list.forEach((item, index) => {
if (index === i) {
item.selAnswer = line.code
@@ -325,7 +324,7 @@
// this.problemIndex = index
},
changeBox(index, jeck) {
- if (this.status === '2') return
+ if (this.status != '0') return
this.list.forEach((item, i) => {
if (index === i) {
item.options.forEach((item2, j) => {
@@ -408,11 +407,12 @@
saveProblemsVO({
openId: this.$store.state.openId,
useType: '1',
- content: ''
+ content: '',
+ score: this.score
}).then(res => {
this.score = 0
uni.navigateTo({
- url: `/pages/userinfo/userinfo?answerId=${res.data}`
+ url: `/pages/appointment/appointment?answerId=${res.data}`
})
})
--
Gitblit v1.9.3