Skip to content

Commit 3df1d6d

Browse files
committed
v3.7:
1. 未做选择,直接显示答案时,你的选项将提示【未选择】
1 parent db09bee commit 3df1d6d

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
## 更新日志:
44
v3.7:
5-
1. 统一单选及多选下,标示的显示逻辑,单选未选中的选项标黄
6-
2. 未做选择,直接显示答案时,你的选项将提示【未选择】
5+
1. 未做选择,直接显示答案时,你的选项将提示【未选择】
76

87
v3.6:
98
1. 当设置里【显示类型】为开启状态时,卡片背面才将问题类型在题目前显示
@@ -52,7 +51,13 @@ v1.5:
5251

5352
## 判断说明
5453
单选/多选情况下,标示正确/错误的所有情况如下:
55-
### 单选及多选
54+
### 单选
55+
| | 正确选项 | 错误选项 |
56+
| :---: | :----: | :----: |
57+
| 选中 |||
58+
| 未选中 || 无变化 |
59+
60+
### 多选
5661
| | 正确选项 | 错误选项 |
5762
| :---: | :----: | :----: |
5863
| 选中 |||

back.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@
5858
_class = 'option'
5959
}
6060
} else {
61-
if (_isCorrect && _isSelected) {
61+
if (_isCorrect) {
6262
_class = 'option ' + correctClass
63-
} else if (_isCorrect && !_isSelected) {
64-
_class = 'option ' + shouldSelectClass
6563
} else {
6664
_class = _isSelected ? 'option ' + wrongClass : 'option'
6765
}

0 commit comments

Comments
 (0)