|
@@ -1,5 +1,5 @@
|
|
|
import { watch } from "vue";
|
|
|
-import { message } from "ant-design-vue";
|
|
|
+import { Modal } from "ant-design-vue";
|
|
|
import vls from "@/utils/storage";
|
|
|
import { useMarkStore } from "@/store";
|
|
|
import { Setting } from "@/types";
|
|
@@ -58,9 +58,9 @@ export default function useTaskTips() {
|
|
|
questionModel === "SINGLE"
|
|
|
) {
|
|
|
if (prevTips.questionNos !== questionNos) {
|
|
|
- void message.info({
|
|
|
+ void Modal.warning({
|
|
|
content: `当前评阅${prevTips.questionNos}题已经评完,切换到${questionNos}题进行评卷`,
|
|
|
- duration: 0,
|
|
|
+ zIndex: 9999,
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
@@ -70,9 +70,9 @@ export default function useTaskTips() {
|
|
|
// 从按小题阅卷切换到阅全部题目提示信息:
|
|
|
// “开始评3-1,3-2,3-2小题,请将全部题目都给分再提交”
|
|
|
if (prevTips.questionModel !== questionModel && questionModel === "MULTI") {
|
|
|
- void message.info({
|
|
|
+ void Modal.warning({
|
|
|
content: `开始评${questionNos}小题,请将全部题目都给分再提交`,
|
|
|
- duration: 0,
|
|
|
+ zIndex: 9999,
|
|
|
});
|
|
|
}
|
|
|
}
|