|
@@ -164,6 +164,7 @@ export default defineComponent({
|
|
|
state.visiableInfo.cancelButtonText = '再等等';
|
|
|
state.visiableInfo.confirmButtonText = '确认完成';
|
|
|
state.visiableInfo.content = `确认本次测验的题目都完成了吗?`;
|
|
|
+ state.nextStatus = false;
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -224,16 +225,14 @@ export default defineComponent({
|
|
|
const onConfirmResult = () => {
|
|
|
if (state.visiableInfo.operationType === 'RESULT') {
|
|
|
state.visiableInfo.show = false;
|
|
|
- router.back();
|
|
|
onAfter();
|
|
|
+ router.back();
|
|
|
} else if (state.visiableInfo.operationType === 'BACK') {
|
|
|
onResultPopup();
|
|
|
} else if (state.visiableInfo.operationType === 'CONTINUE') {
|
|
|
onResultPopup();
|
|
|
} else if (state.visiableInfo.operationType === 'TIME') {
|
|
|
state.visiableInfo.show = false;
|
|
|
- router.back();
|
|
|
- onAfter();
|
|
|
}
|
|
|
};
|
|
|
const onCloseResult = async (status: boolean) => {
|