|
@@ -133,6 +133,10 @@ export default defineComponent({
|
|
|
state.visiableInfo.confirmButtonText = '确定';
|
|
|
state.visiableInfo.content = `你确定已掌握该题知识要点,此题将移除你的错题集。`;
|
|
|
state.visiableInfo.graspItem = item;
|
|
|
+
|
|
|
+ if (state.questionList.length === 1) {
|
|
|
+ onAfter();
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
/** 已掌握此题确认 */
|
|
@@ -152,7 +156,6 @@ export default defineComponent({
|
|
|
|
|
|
// 只有一道题
|
|
|
if (state.questionList.length === 1) {
|
|
|
- onAfter();
|
|
|
router.back();
|
|
|
router.back();
|
|
|
return;
|