lex há 1 ano atrás
pai
commit
844dbea5ce

+ 1 - 0
src/views/knowledge-library/error-question-mode/index.tsx

@@ -301,6 +301,7 @@ export default defineComponent({
       if (state.visiableInfo.operationType === 'RESULT') {
         state.visiableInfo.show = false;
         onAfter();
+        router.back();
       } else if (state.visiableInfo.operationType === 'BACK') {
         state.visiableInfo.show = false;
         onAfter();

+ 1 - 1
src/views/knowledge-library/practice-mode/index.tsx

@@ -230,8 +230,8 @@ 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') {
         state.visiableInfo.show = false;
         onAfter();