|
@@ -32,8 +32,10 @@
|
|
|
import { ref, watch } from "vue";
|
|
|
import { useMarkStore } from "@/store";
|
|
|
import { updateUISetting } from "@/api/markPage";
|
|
|
+import useTaskTips from "../composables/useTaskTips";
|
|
|
|
|
|
const markStore = useMarkStore();
|
|
|
+const { clearPrevTips } = useTaskTips();
|
|
|
|
|
|
// Using $ref for visible, assuming Vue Reactivity Transform is enabled as in ModalMarkProblem.vue
|
|
|
// If not, this should be: const visible = ref(markStore.selectMarkingQuestionModalVisible);
|
|
@@ -68,6 +70,8 @@ const handleOk = async () => {
|
|
|
markStore.setting.questionModel,
|
|
|
selectedQuestionId.value
|
|
|
);
|
|
|
+ // 清除掉上一次评卷题目缓存,这样就不会提示试题切换信息了
|
|
|
+ clearPrevTips();
|
|
|
window.location.reload();
|
|
|
};
|
|
|
|