fix: bug 打分题验重

This commit is contained in:
wanganmao
2023-01-12 10:39:43 +08:00
parent 5b87299fe1
commit 2c20021ea7

View File

@@ -212,7 +212,7 @@ export default defineComponent({
.replaceAll("\n", "");
return $old === $item;
});
if (findIndex !== -1) {
if (findIndex !== -1 && index != findIndex) {
message.error(
`提示:第${index + 1}个选项和第${
findIndex + 1